]> SALOME platform Git repositories - plugins/netgenplugin.git/blobdiff - src/GUI/NETGENPluginGUI_HypothesisCreator.cxx
Salome HOME
Deleted Study parameter
[plugins/netgenplugin.git] / src / GUI / NETGENPluginGUI_HypothesisCreator.cxx
index 2db7d1ed1775ce88dceba43cd7cde7122bdbd8b5..dd4aeda973c2d794e19170813e59f8c661da7bbd 100644 (file)
@@ -767,10 +767,9 @@ void NETGENPluginGUI_HypothesisCreator::onSetSizeFile()
 
 GeomSelectionTools* NETGENPluginGUI_HypothesisCreator::getGeomSelectionTools()
 {
-  _PTR(Study) aStudy = SMESH::GetActiveStudyDocument();
-  if (myGeomSelectionTools == NULL || myGeomSelectionTools->getMyStudy() != aStudy) {
+  if (myGeomSelectionTools == NULL) {
     delete myGeomSelectionTools;
-    myGeomSelectionTools = new GeomSelectionTools(aStudy);
+    myGeomSelectionTools = new GeomSelectionTools();
   }
   return myGeomSelectionTools;
 }