From: vsv Date: Wed, 30 Jul 2014 11:44:34 +0000 (+0400) Subject: Update constraints on editing of sketch elements X-Git-Tag: V_0.4.4~127 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7b7c1f89be13df97fded993e4fe8ca52c347c9cf;p=modules%2Fshaper.git Update constraints on editing of sketch elements --- diff --git a/src/Model/Model_Update.cpp b/src/Model/Model_Update.cpp index d8ccc3dd9..f728bb60e 100644 --- a/src/Model/Model_Update.cpp +++ b/src/Model/Model_Update.cpp @@ -100,6 +100,8 @@ bool Model_Update::updateFeature(FeaturePtr theFeature) myUpdated[aRes] = true; ModelAPI_EventCreator::get()->sendUpdated(aRes, EVENT_DISP); } + // to redisplay "presentable" feature (for ex. distance constraint) + ModelAPI_EventCreator::get()->sendUpdated(theFeature, EVENT_DISP); } else { // returns also true is results were updated: for sketch that refers to sub-features but results of sub-features were changed const std::list >& aResults = theFeature->results(); std::list >::const_iterator aRIter = aResults.begin();