From: mpv Date: Tue, 12 Apr 2016 11:58:57 +0000 (+0300) Subject: Fix for the issue #1085 X-Git-Tag: V_2.3.0~241 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=54b0371d98640f3e366d5d66f5eac9230bad744a;p=modules%2Fshaper.git Fix for the issue #1085 --- diff --git a/src/Model/Model_Update.cpp b/src/Model/Model_Update.cpp index afe7e7c41..ee33076dc 100644 --- a/src/Model/Model_Update.cpp +++ b/src/Model/Model_Update.cpp @@ -375,6 +375,11 @@ bool Model_Update::processFeature(FeaturePtr theFeature) return false; } + // evaluate parameter before the sub-elements update: it updates dependencies on evaluation (#1085) + if (theFeature->getKind() == "Parameter") { + theFeature->execute(); + } + // check all features this feature depended on (recursive call of updateFeature) std::set >& aReasons = myModified[theFeature]; if (aReasons.find(theFeature) == aReasons.end()) {