Salome HOME
projects
/
modules
/
geom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0014047: EDF PAL 334 : Problem to select merged face with Create group window
[modules/geom.git]
/
src
/
DisplayGUI
/
DisplayGUI.cxx
diff --git
a/src/DisplayGUI/DisplayGUI.cxx
b/src/DisplayGUI/DisplayGUI.cxx
index ce16392c5d8fc36f20f0ce2a33628d7aa05bd011..e35c95e41b434e9067acf8bf24e31139ee183b46 100644
(file)
--- a/
src/DisplayGUI/DisplayGUI.cxx
+++ b/
src/DisplayGUI/DisplayGUI.cxx
@@
-323,7
+323,13
@@
void DisplayGUI::Erase()
listIO.Append( anIObject );
}
}
listIO.Append( anIObject );
}
}
- GEOM_Displayer(anActiveStudy).Erase( listIO, true );
+
+ SUIT_ViewWindow* viewWindow = app->desktop()->activeWindow();
+ bool aIsForced = true;
+ if(viewWindow->getViewManager()->getType() == SVTK_Viewer::Type())
+ aIsForced = false;
+
+ GEOM_Displayer(anActiveStudy).Erase( listIO, aIsForced);
getGeometryGUI()->getApp()->selectionMgr()->clearSelected();
}
getGeometryGUI()->getApp()->selectionMgr()->clearSelected();
}
@@
-466,7
+472,9
@@
void DisplayGUI::ChangeDisplayMode( const int mode, SUIT_ViewWindow* viewWindow
//=====================================================================================
extern "C"
{
//=====================================================================================
extern "C"
{
- DISPLAYGUI_EXPORT
+#ifdef WIN32
+ __declspec( dllexport )
+#endif
GEOMGUI* GetLibGUI( GeometryGUI* parent )
{
return new DisplayGUI( parent );
GEOMGUI* GetLibGUI( GeometryGUI* parent )
{
return new DisplayGUI( parent );