]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix some hang ups on constraints creation
authormpv <mikhail.ponikarov@opencascade.com>
Fri, 7 Nov 2014 07:50:08 +0000 (10:50 +0300)
committermpv <mikhail.ponikarov@opencascade.com>
Fri, 7 Nov 2014 07:50:08 +0000 (10:50 +0300)
src/SketchSolver/SketchSolver_ConstraintManager.cpp

index d308e99d0b7bc3e56da28fe832498b0884541e75..ef7420ab53aea6254dc9c78829c99c72dedea9e5 100644 (file)
@@ -63,8 +63,8 @@ SketchSolver_ConstraintManager::~SketchSolver_ConstraintManager()
 void SketchSolver_ConstraintManager::processEvent(
   const boost::shared_ptr<Events_Message>& theMessage)
 {
-  //if (myIsComputed)
-  //  return;
+  if (myIsComputed)
+    return;
   if (theMessage->eventID() == Events_Loop::loop()->eventByName(EVENT_OBJECT_CREATED)
       || theMessage->eventID() == Events_Loop::loop()->eventByName(EVENT_OBJECT_UPDATED)
       || theMessage->eventID() == Events_Loop::loop()->eventByName(EVENT_OBJECT_MOVED)) {