diff --git a/src/Mod/Path/App/Area.cpp b/src/Mod/Path/App/Area.cpp index 9c258271a3..8f4499f1c3 100644 --- a/src/Mod/Path/App/Area.cpp +++ b/src/Mod/Path/App/Area.cpp @@ -3041,7 +3041,7 @@ std::list Area::sortWires(const std::list& shapes, gp_Pnt pstart, pend; if (_pstart) pstart = *_pstart; - bool use_bound = !has_start || _pstart == nullptr; + bool use_bound = !has_start || !_pstart; //Second stage, group shape by its plane, and find overall boundary