diff --git a/src/Mod/Sketcher/App/Sketch.cpp b/src/Mod/Sketcher/App/Sketch.cpp index b58faf8031..4002c86931 100644 --- a/src/Mod/Sketcher/App/Sketch.cpp +++ b/src/Mod/Sketcher/App/Sketch.cpp @@ -1410,7 +1410,7 @@ void Sketch::getBlockedGeometry(std::vector & blockedGeometry, // solver behaviour // further, any constraint taking only one element, which is blocked is also unenforceable - if((*it)->Second==Constraint::GeoUndef && (*it)->Third==Constraint::GeoUndef) { + if((*it)->Second==Constraint::GeoUndef && (*it)->Third==Constraint::GeoUndef && (*it)->First>=0 ) { if (blockedGeometry[(*it)->First] && i < geo2blockingconstraintindex[(*it)->First]) { unenforceableConstraints[i]= true; }