Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b5d02b8
)
BugID IPAL9186: Modified method GetSMESHGen
author
srn
<srn@opencascade.com>
Tue, 21 Jun 2005 06:09:10 +0000
(06:09 +0000)
committer
srn
<srn@opencascade.com>
Tue, 21 Jun 2005 06:09:10 +0000
(06:09 +0000)
src/SMESHGUI/SMESHGUI.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI.cxx
b/src/SMESHGUI/SMESHGUI.cxx
index f5846d3f22628adc6e3faafc8aef0a34d11ab0e7..2b1da3a9c13cf26b2272c6cafe73671271ba5e4a 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI.cxx
+++ b/
src/SMESHGUI/SMESHGUI.cxx
@@
-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;
}