]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix for the issue #577
authormpv <mpv@opencascade.com>
Wed, 1 Jul 2015 15:06:49 +0000 (18:06 +0300)
committermpv <mpv@opencascade.com>
Wed, 1 Jul 2015 15:06:49 +0000 (18:06 +0300)
src/Model/Model_Update.cpp

index 7e592744b5f2efefee426ac1e295b86e74d12983..d87e87ed8c0f615e71172eac4e890f2c6f93c425 100644 (file)
@@ -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