From: azv Date: Fri, 17 Apr 2015 08:09:45 +0000 (+0300) Subject: Avoid "Conflicting constraints" when mirror external objects X-Git-Tag: V_1.1.0~13^2~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ab33145e33ca5905af787e3d94d0e6c1c5824965;p=modules%2Fshaper.git Avoid "Conflicting constraints" when mirror external objects --- diff --git a/src/SketchSolver/SketchSolver_Storage.h b/src/SketchSolver/SketchSolver_Storage.h index fc2e46ceb..6a861e5ae 100644 --- a/src/SketchSolver/SketchSolver_Storage.h +++ b/src/SketchSolver/SketchSolver_Storage.h @@ -116,7 +116,7 @@ public: /// \brief Shows the sketch should be resolved bool isNeedToResolve() const - { return myNeedToResolve; } + { return myNeedToResolve && !myConstraints.empty(); } /// \brief Shows the storage has the same constraint twice bool hasDuplicatedConstraint() const