mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-29 02:40:35 +05:00
Fix for PAL8920( After study restore, SMESH can't use a shape from GEOM without an explicit activation of GEOM ).
This commit is contained in:
parent
13fd8ba3f8
commit
4a0e350c11
@ -1007,6 +1007,9 @@ bool SMESHGUI::ActiveStudyChanged(QAD_Desktop* parent)
|
|||||||
SMESH::UpdateSelectionProp();
|
SMESH::UpdateSelectionProp();
|
||||||
}
|
}
|
||||||
MESSAGE("SMESHGUI::activeStudyChanged done.");
|
MESSAGE("SMESHGUI::activeStudyChanged done.");
|
||||||
|
|
||||||
|
parent->loadComponentData("GEOM");
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2329,6 +2332,9 @@ bool SMESHGUI::SetSettings(QAD_Desktop * parent)
|
|||||||
parent->menuBar()->setItemEnabled(111, false); // IMPORT DAT
|
parent->menuBar()->setItemEnabled(111, false); // IMPORT DAT
|
||||||
//parent->menuBar()->setItemEnabled(112, false); // IMPORT UNV
|
//parent->menuBar()->setItemEnabled(112, false); // IMPORT UNV
|
||||||
|
|
||||||
|
/* Load geom data*/
|
||||||
|
parent->loadComponentData("GEOM");
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user