From: mpv Date: Wed, 1 Jul 2015 15:06:49 +0000 (+0300) Subject: Fix for the issue #577 X-Git-Tag: V_1.3.0~129 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5183e45dbb598541fb76e679b285b1e599916eaa;p=modules%2Fshaper.git Fix for the issue #577 --- diff --git a/src/Model/Model_Update.cpp b/src/Model/Model_Update.cpp index 7e592744b..d87e87ed8 100644 --- a/src/Model/Model_Update.cpp +++ b/src/Model/Model_Update.cpp @@ -302,6 +302,9 @@ void Model_Update::updateArguments(FeaturePtr theFeature) { static ModelAPI_ValidatorsFactory* aFactory = ModelAPI_Session::get()->validators(); ModelAPI_ExecState aState = theFeature->data()->execState(); + if (aState == ModelAPI_StateExecFailed) { // try again failed feature: issue 577 + aState = ModelAPI_StateMustBeUpdated; + } if (aState == ModelAPI_StateInvalidArgument) // a chance to be corrected aState = ModelAPI_StateMustBeUpdated; // check the parameters state