mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-19 04:50:34 +05:00
0021202: [CEA 461] Reload from disk does not work in Salome6
This commit is contained in:
parent
ca6affd09c
commit
4f33724a37
@ -134,7 +134,8 @@ bool TransformationGUI::OnGUIEvent( int theCommandID, SUIT_Desktop* parent )
|
|||||||
if (SUIT_ViewModel* vmodel = vman->getViewModel()) {
|
if (SUIT_ViewModel* vmodel = vman->getViewModel()) {
|
||||||
if (SALOME_View* view = dynamic_cast<SALOME_View*>(vmodel)) {
|
if (SALOME_View* view = dynamic_cast<SALOME_View*>(vmodel)) {
|
||||||
if (view->isVisible(io)) {
|
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);
|
aDisp.Display(io, true, view);
|
||||||
}
|
}
|
||||||
// ? Redisplay subshapes ?
|
// ? Redisplay subshapes ?
|
||||||
|
Loading…
Reference in New Issue
Block a user