From c327217dc3eccc9796a47d7416a535de0b38ccac Mon Sep 17 00:00:00 2001 From: Uwe Date: Mon, 3 Oct 2022 04:22:40 +0200 Subject: [PATCH] [Path] Area.cpp: remove redundant nullptr check --- src/Mod/Path/App/Area.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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