mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-12 09:40:35 +05:00
BugID IPAL9186: Modified method GetSMESHGen
This commit is contained in:
parent
b5d02b8684
commit
8090525b47
@ -3077,6 +3077,12 @@ void SMESHGUI::OnGUIEvent()
|
|||||||
|
|
||||||
SMESH::SMESH_Gen_var SMESHGUI::GetSMESHGen()
|
SMESH::SMESH_Gen_var SMESHGUI::GetSMESHGen()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
if ( CORBA::is_nil( myComponentSMESH ) )
|
||||||
|
{
|
||||||
|
SMESHGUI aGUI; //SRN BugID: IPAL9186: Create an instance of SMESHGUI to initialize myComponentSMESH
|
||||||
|
return aGUI.myComponentSMESH;
|
||||||
|
}
|
||||||
return myComponentSMESH;
|
return myComponentSMESH;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user