From 7b7c1f89be13df97fded993e4fe8ca52c347c9cf Mon Sep 17 00:00:00 2001 From: vsv Date: Wed, 30 Jul 2014 15:44:34 +0400 Subject: [PATCH] Update constraints on editing of sketch elements --- src/Model/Model_Update.cpp | 2 ++ 1 file changed, 2 insertions(+) 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(); -- 2.39.2