]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix for issue #913: update sketch elements due to the parameters update
authormpv <mpv@opencascade.com>
Tue, 8 Sep 2015 14:02:30 +0000 (17:02 +0300)
committermpv <mpv@opencascade.com>
Tue, 8 Sep 2015 14:02:30 +0000 (17:02 +0300)
src/Model/Model_Update.cpp

index 737a2fc6c6cf9104e94e1b6537c7df69d72739ed..93205e353fbcb3c23a4b50db0c7326f1256e6acc 100644 (file)
@@ -202,7 +202,7 @@ void Model_Update::iterateUpdateBreak(std::shared_ptr<ModelAPI_Feature> 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 "<<theFeature->name()<<std::endl;
+    std::cout<<"Update Feature "<<theFeature->name()<<std::endl;
   #endif
   CompositeFeaturePtr aCompos = std::dynamic_pointer_cast<ModelAPI_CompositeFeature>(theFeature);
   // If automatice update is not needed and feature attributes were not updated right now,