]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #2179: Mirror in the sketcher : no refresh after the displacement of circles
authorazv <azv@opencascade.com>
Thu, 25 May 2017 05:21:12 +0000 (08:21 +0300)
committerazv <azv@opencascade.com>
Thu, 25 May 2017 05:21:12 +0000 (08:21 +0300)
Notify observers about moving the feature each time without respect to another constraints

src/SketchSolver/SketchSolver_Group.cpp

index a0a7d362408d8fa2d5b6df058fcbc7d3b1511d0a..ce740539aea0d73a127bded41ccf41f9a7bf7535 100644 (file)
@@ -137,9 +137,10 @@ bool SketchSolver_Group::moveFeature(FeaturePtr theFeature)
 
     mySketchSolver->initialize();
     aConstraint->moveFeature();
-  } else
-    myStorage->notify(theFeature);
+  }
 
+  // notify all observers that theFeature has been changed
+  myStorage->notify(theFeature);
   return true;
 }