From: mpv Date: Fri, 27 May 2016 07:31:20 +0000 (+0300) Subject: Fix for the issue #1519: update of invalid features after enabling X-Git-Tag: V_2.3.1~45 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=42bbd2b3d1eff4ae44ed3d6957ad8996156a1dba;p=modules%2Fshaper.git Fix for the issue #1519: update of invalid features after enabling --- diff --git a/src/Model/Model_Update.cpp b/src/Model/Model_Update.cpp index 000c377d4..2e0b1b341 100755 --- a/src/Model/Model_Update.cpp +++ b/src/Model/Model_Update.cpp @@ -109,7 +109,8 @@ bool Model_Update::addModified(FeaturePtr theFeature, FeaturePtr theReason) { bool aIsDisabled = theFeature->isDisabled(); if (!aIsDisabled) { std::set > 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 {