From 1b835da9f6eccd48b02166d222d353d899ecf309 Mon Sep 17 00:00:00 2001 From: mpv Date: Tue, 26 Apr 2016 15:40:22 +0300 Subject: [PATCH] Fix for the issue #1418 --- src/Model/Model_Update.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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(); -- 2.39.2