]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Avoid "Conflicting constraints" when mirror external objects
authorazv <azv@opencascade.com>
Fri, 17 Apr 2015 08:09:45 +0000 (11:09 +0300)
committerazv <azv@opencascade.com>
Fri, 17 Apr 2015 08:10:02 +0000 (11:10 +0300)
src/SketchSolver/SketchSolver_Storage.h

index fc2e46ceba6963d96d58325fa7d780bcad72a184..6a861e5ae8ba1679022f569750de5d303225b679 100644 (file)
@@ -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