From 5183e45dbb598541fb76e679b285b1e599916eaa Mon Sep 17 00:00:00 2001 From: mpv Date: Wed, 1 Jul 2015 18:06:49 +0300 Subject: [PATCH] Fix for the issue #577 --- src/Model/Model_Update.cpp | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.2