From 9baaa9343a9d1c026a6467ec2a864c2c317ab91b Mon Sep 17 00:00:00 2001 From: azv Date: Tue, 30 Aug 2016 09:06:31 +0300 Subject: [PATCH] Fix wrong unprompted update of entities on non-active sketches --- src/SketchSolver/SketchSolver_Group.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/SketchSolver/SketchSolver_Group.cpp b/src/SketchSolver/SketchSolver_Group.cpp index 9447f1e1e..2dbb20336 100644 --- a/src/SketchSolver/SketchSolver_Group.cpp +++ b/src/SketchSolver/SketchSolver_Group.cpp @@ -621,6 +621,11 @@ void SketchSolver_Group::removeConstraint(ConstraintPtr theConstraint) } if (aCIter != myConstraints.end()) myConstraints.erase(aCIter); + // empty group => clear storage + if (myConstraints.empty()) { + myStorage = StoragePtr(); + updateWorkplane(); + } } // ============================================================================ -- 2.39.2