From: mpv Date: Fri, 7 Nov 2014 07:50:08 +0000 (+0300) Subject: Fix some hang ups on constraints creation X-Git-Tag: V_0.5~19^2^2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=878b7241a9e8ec265e5a92baf1924bbdbb878c5f;p=modules%2Fshaper.git Fix some hang ups on constraints creation --- diff --git a/src/SketchSolver/SketchSolver_ConstraintManager.cpp b/src/SketchSolver/SketchSolver_ConstraintManager.cpp index d308e99d0..ef7420ab5 100644 --- a/src/SketchSolver/SketchSolver_ConstraintManager.cpp +++ b/src/SketchSolver/SketchSolver_ConstraintManager.cpp @@ -63,8 +63,8 @@ SketchSolver_ConstraintManager::~SketchSolver_ConstraintManager() void SketchSolver_ConstraintManager::processEvent( const boost::shared_ptr& 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)) {