From: mpv Date: Mon, 14 Sep 2015 05:07:48 +0000 (+0300) Subject: Fix for the issue #955 X-Git-Tag: V_1.4.0_beta4~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=591786fff88430947d429c1b735da90c08c882bf;p=modules%2Fshaper.git Fix for the issue #955 --- diff --git a/src/Model/Model_Update.cpp b/src/Model/Model_Update.cpp index 93205e353..2a1062a8f 100644 --- a/src/Model/Model_Update.cpp +++ b/src/Model/Model_Update.cpp @@ -217,6 +217,7 @@ void Model_Update::iterateUpdateBreak(std::shared_ptr theFeatu void Model_Update::processOperation(const bool theTotalUpdate, const bool theFinish) { if (theFinish) { + /* // the hardcode (DBC asked): hide the sketch referenced by extrusion on apply std::set >::iterator aFIter; for(aFIter = myWaitForFinish.begin(); aFIter != myWaitForFinish.end(); aFIter++) @@ -234,7 +235,7 @@ void Model_Update::processOperation(const bool theTotalUpdate, const bool theFin } } } - } + }*/ } // perform update of everything if needed if (!myIsExecuted) { @@ -298,7 +299,9 @@ void Model_Update::updateFeature(FeaturePtr theFeature) if (!iterateUpdate(aCompos)) return; // iteration was interrupted, so, interrupt the update of this feature (it will be done later) // reupdate arguments of composite feature: it may be changed during subs execution - if (theFeature->data()->execState() != ModelAPI_StateMustBeUpdated) + + // issue 955: extrusion fuse sketch naming must be updated after the sketch update + // so, comment this: if (theFeature->data()->execState() != ModelAPI_StateMustBeUpdated) updateArguments(theFeature); } // this checking must be after the composite feature sub-elements processing: