From 4f33724a37e2edd75620527ae611f2eaa4e9bef3 Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 28 Feb 2011 11:52:36 +0000 Subject: [PATCH] 0021202: [CEA 461] Reload from disk does not work in Salome6 --- src/TransformationGUI/TransformationGUI.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/TransformationGUI/TransformationGUI.cxx b/src/TransformationGUI/TransformationGUI.cxx index aa725e4a3..70313374b 100644 --- a/src/TransformationGUI/TransformationGUI.cxx +++ b/src/TransformationGUI/TransformationGUI.cxx @@ -134,7 +134,8 @@ bool TransformationGUI::OnGUIEvent( int theCommandID, SUIT_Desktop* parent ) if (SUIT_ViewModel* vmodel = vman->getViewModel()) { if (SALOME_View* view = dynamic_cast(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 ? -- 2.39.2