_dwAssociation(0),
_dwGroups(0),
_dwMesh(0),
- _dwObjectBrowser(0),
+// _dwObjectBrowser(0),
_dwInputPanel(0),
_patternDataTreeView(0),
// _patternBuilderTreeView(0),
hideActor();
+ if(currentOccGView) {
+ delete currentOccGView;
+ currentOccGView = NULL;
+ }
+
+ if(currentDocGView) {
+ delete currentDocGView;
+ currentDocGView = NULL;
+ }
+
return bOk;
}
#include <map>
#include <set>
+#include <QPointer>
#include <QTreeView>
#include <QModelIndex>
#include <QDockWidget>
QDockWidget *_dwAssociation; // Hexablock association edition
QDockWidget *_dwGroups; // Hexablock groups edition
QDockWidget *_dwMesh; // Hexablock meshing edtion
- QDockWidget *_dwObjectBrowser; // Salome study
+ QPointer<QDockWidget> _dwObjectBrowser; // Salome study
QDockWidget *_dwInputPanel; // user Input