]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Minor fix: checked on edition of extrusion-cut sketch: extrusion cut result should... BR_ADVANCED_CURRENT_FEATURE_MANAGEMENT
authormpv <mpv@opencascade.com>
Mon, 12 Oct 2015 08:56:05 +0000 (11:56 +0300)
committermpv <mpv@opencascade.com>
Mon, 12 Oct 2015 08:56:05 +0000 (11:56 +0300)
src/Model/Model_Update.cpp

index 595feacf1fcc979c0317fcc425dff91b33b8b55e..49657767605ea735537cec2d23ce1cb13f6b1316 100644 (file)
@@ -695,7 +695,10 @@ void Model_Update::updateStability(void* theSender)
             std::list<ObjectPtr>& aRefFeaturesList = aRefIt->second;
             std::list<ObjectPtr>::iterator aReferenced = aRefFeaturesList.begin();
             for(; aReferenced != aRefFeaturesList.end(); aReferenced++) {
-              if (aReferenced->get() && (*aReferenced)->data()->isValid()) {
+               // stability is only on results: feature to feature reference mean nested 
+              // features, that will remove nesting references
+              if (aReferenced->get() && (*aReferenced)->data()->isValid() && 
+                (*aReferenced)->groupName() != ModelAPI_Feature::group()) {
                 std::shared_ptr<Model_Data> aData = 
                   std::dynamic_pointer_cast<Model_Data>((*aReferenced)->data());
                 if (aFeatureSender->isStable()) {