]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix for the issue #1519: update of invalid features after enabling
authormpv <mpv@opencascade.com>
Fri, 27 May 2016 07:31:20 +0000 (10:31 +0300)
committermpv <mpv@opencascade.com>
Fri, 27 May 2016 07:31:20 +0000 (10:31 +0300)
src/Model/Model_Update.cpp

index 000c377d43b212704ce22db6e3f24920cf2ea84f..2e0b1b34192f47095a41d1a7f6a600aeb700306a 100755 (executable)
@@ -109,7 +109,8 @@ bool Model_Update::addModified(FeaturePtr theFeature, FeaturePtr theReason) {
   bool aIsDisabled = theFeature->isDisabled();
   if (!aIsDisabled) {
     std::set<std::shared_ptr<ModelAPI_Feature> > aNewSet;
-    if (theFeature->data()->execState() == ModelAPI_StateMustBeUpdated) {
+    if (theFeature->data()->execState() == ModelAPI_StateMustBeUpdated ||
+        theFeature->data()->execState() == ModelAPI_StateInvalidArgument) { // issue 1519
       // do not forget that in this case all were the reasons
       aNewSet.insert(theFeature);
     } else {