From: nds Date: Sun, 6 Sep 2015 15:13:17 +0000 (+0300) Subject: Temporary workaroud of crash in SALOME study, happens by closing document. X-Git-Tag: V_1.4.0_beta4~107 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=941e1f583fd7a7a87f51cbaddf3c4a071f5fbecc;p=modules%2Fshaper.git Temporary workaroud of crash in SALOME study, happens by closing document. --- diff --git a/src/Model/Model_Objects.cpp b/src/Model/Model_Objects.cpp index 0a86b587d..7fbbaca8c 100644 --- a/src/Model/Model_Objects.cpp +++ b/src/Model/Model_Objects.cpp @@ -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()); }