BugID IPAL9186: Modified method GetSMESHGen

This commit is contained in:
srn 2005-06-21 06:09:10 +00:00
parent b5d02b8684
commit 8090525b47

View File

@ -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;
}