X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_Update.cpp;h=fe86d7a28adceca6f28310204c29155bbf6ce631;hb=853e0eec6016120b641efa6adf427a239cf203cf;hp=169cf2b7d6bab36f64e8c3b2ee95a08c3a4e50b9;hpb=4ed768a69e4462c72fad62fc843272cbf403c4ff;p=modules%2Fshaper.git diff --git a/src/Model/Model_Update.cpp b/src/Model/Model_Update.cpp index 169cf2b7d..fe86d7a28 100644 --- a/src/Model/Model_Update.cpp +++ b/src/Model/Model_Update.cpp @@ -33,7 +33,7 @@ using namespace std; Model_Update MY_UPDATER_INSTANCE; /// the only one instance initialized on load of the library -#define DEB_UPDATE +//#define DEB_UPDATE Model_Update::Model_Update() { @@ -202,7 +202,7 @@ void Model_Update::iterateUpdateBreak(std::shared_ptr theFeatu } // for the current breaked, set iteration to this feature precisely aBreaked->setCurrentBefore(theFeature); - myModification++; + //myModification++; } // the iterator that contains breaked is found, so, nothing else is needed return; @@ -275,7 +275,7 @@ void Model_Update::updateFeature(FeaturePtr theFeature) return; #ifdef DEB_UPDATE - //std::cout<<"Update Feature "<name()<name()<(theFeature); // If automatice update is not needed and feature attributes were not updated right now, @@ -298,7 +298,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: