]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
0021202: [CEA 461] Reload from disk does not work in Salome6
authorvsr <vsr@opencascade.com>
Mon, 28 Feb 2011 11:52:36 +0000 (11:52 +0000)
committervsr <vsr@opencascade.com>
Mon, 28 Feb 2011 11:52:36 +0000 (11:52 +0000)
src/TransformationGUI/TransformationGUI.cxx

index aa725e4a3dd79e7928033ecc697d13eae8917ee8..70313374bbd0deb925a96d3ea97d2be3c8e36d02 100644 (file)
@@ -134,7 +134,8 @@ bool TransformationGUI::OnGUIEvent( int theCommandID, SUIT_Desktop* parent )
               if (SUIT_ViewModel* vmodel = vman->getViewModel()) {
                 if (SALOME_View* view = dynamic_cast<SALOME_View*>(vmodel)) {
                   if (view->isVisible(io)) {
-                    aDisp.Erase(io, false, false, view);
+                    aDisp.Erase(io, true, false, view);
+                   getGeometryGUI()->GetShapeReader().RemoveShapeFromBuffer( getGeometryGUI()->getApp()->orb()->object_to_string( aGeomObj.in() ) );
                     aDisp.Display(io, true, view);
                   }
                   // ? Redisplay subshapes ?