Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PAL9391
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI.cxx
diff --git
a/src/SMESHGUI/SMESHGUI.cxx
b/src/SMESHGUI/SMESHGUI.cxx
index 2440a84392aab590794a51e30cf6e76072512397..aade73a3e9c36c066f409d9c6627ee1aefaca024 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI.cxx
+++ b/
src/SMESHGUI/SMESHGUI.cxx
@@
-64,6
+64,7
@@
#include "SMESHGUI_Selection.h"
#include "SMESHGUI_CreatePolyhedralVolumeDlg.h"
#include "SMESHGUI_MeshOp.h"
#include "SMESHGUI_Selection.h"
#include "SMESHGUI_CreatePolyhedralVolumeDlg.h"
#include "SMESHGUI_MeshOp.h"
+#include "SMESHGUI_Displayer.h"
#include "SMESHGUI_Utils.h"
#include "SMESHGUI_GEOMGenUtils.h"
#include "SMESHGUI_Utils.h"
#include "SMESHGUI_GEOMGenUtils.h"
@@
-806,6
+807,7
@@
SalomeApp_Module( "SMESH" )
myActiveDialogBox = 0 ;
myState = -1 ;
myActiveDialogBox = 0 ;
myState = -1 ;
+ myDisplayer = 0;
SMESH::GetFilterManager();
SMESH::GetPattern();
SMESH::GetFilterManager();
SMESH::GetPattern();
@@
-3045,5
+3047,14
@@
SalomeApp_Operation* SMESHGUI::createOperation( const int id ) const
break;
}
break;
}
+ if( !op )
+ op = SalomeApp_Module::createOperation( id );
return op;
}
return op;
}
+
+SalomeApp_Displayer* SMESHGUI::displayer()
+{
+ if( !myDisplayer )
+ myDisplayer = new SMESHGUI_Displayer( dynamic_cast<SalomeApp_Study*>( getApp()->activeStudy() ) );
+ return myDisplayer;
+}