From: mpv Date: Tue, 26 Apr 2016 12:40:22 +0000 (+0300) Subject: Fix for the issue #1418 X-Git-Tag: V_2.3.0~104 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1b835da9f6eccd48b02166d222d353d899ecf309;p=modules%2Fshaper.git Fix for the issue #1418 --- diff --git a/src/Model/Model_Update.cpp b/src/Model/Model_Update.cpp index 9125ca0f9..8886c5f02 100644 --- a/src/Model/Model_Update.cpp +++ b/src/Model/Model_Update.cpp @@ -80,7 +80,12 @@ bool Model_Update::addModified(FeaturePtr theFeature, FeaturePtr theReason) { #ifdef DEB_UPDATE std::cout<<"*** Add process on finish "<name()< aCurrentlyUpdated; + if (aCurrentlyUpdated.find(theFeature) == aCurrentlyUpdated.end()) { + aCurrentlyUpdated.insert(theFeature); + updateArguments(theFeature); + aCurrentlyUpdated.erase(theFeature); + } if (theFeature->data()->execState() == ModelAPI_StateMustBeUpdated) { theFeature->data()->execState(ModelAPI_StateDone); static ModelAPI_ValidatorsFactory* aFactory = ModelAPI_Session::get()->validators();