]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Temporary workaroud of crash in SALOME study, happens by closing document.
authornds <nds@opencascade.com>
Sun, 6 Sep 2015 15:13:17 +0000 (18:13 +0300)
committernds <nds@opencascade.com>
Sun, 6 Sep 2015 15:13:17 +0000 (18:13 +0300)
src/Model/Model_Objects.cpp

index 0a86b587d8b630122117010b6d3b0e03e9a2e4ca..7fbbaca8c098753599fb7bbf6c4284cb115e83cc 100644 (file)
@@ -69,7 +69,8 @@ Model_Objects::~Model_Objects()
     static Events_ID EVENT_DISP = aLoop->eventByName(EVENT_OBJECT_TO_REDISPLAY);
     ModelAPI_EventCreator::get()->sendDeleted(myDoc, ModelAPI_Feature::group());
     ModelAPI_EventCreator::get()->sendUpdated(aFeature, EVENT_DISP);
-    aFeature->eraseResults();
+    aFeature->removeResults(0, false);
+    //aFeature->eraseResults();
     aFeature->erase();
     myFeatures.UnBind(aFeaturesIter.Key());
   }