mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-24 16:30:34 +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()
|
||||
{
|
||||
|
||||
if ( CORBA::is_nil( myComponentSMESH ) )
|
||||
{
|
||||
SMESHGUI aGUI; //SRN BugID: IPAL9186: Create an instance of SMESHGUI to initialize myComponentSMESH
|
||||
return aGUI.myComponentSMESH;
|
||||
}
|
||||
return myComponentSMESH;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user