0021202: [CEA 461] Reload from disk does not work in Salome6

This commit is contained in:
vsr 2011-02-28 11:52:36 +00:00
parent ca6affd09c
commit 4f33724a37

View 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 ?