From 591786fff88430947d429c1b735da90c08c882bf Mon Sep 17 00:00:00 2001 From: mpv Date: Mon, 14 Sep 2015 08:07:48 +0300 Subject: [PATCH] Fix for the issue #955 --- src/Model/Model_Update.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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: -- 2.39.2