Salome HOME
Updated copyright comment
[plugins/ghs3dprlplugin.git] / src / gui / GHS3DPRLPluginGUI.cxx
old mode 100755 (executable)
new mode 100644 (file)
index d4d8f40..f3fbb2b
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2024  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -34,8 +34,9 @@ extern "C"
   GHS3DPRLPLUGINGUI_EXPORT SMESHGUI_GenericHypothesisCreator* GetHypothesisCreator( const QString& aHypType )
   {
     SMESHGUI_GenericHypothesisCreator* aCreator = NULL;
-    if( aHypType=="GHS3DPRL_Parameters" )
-      aCreator =  new GHS3DPRLPluginGUI_HypothesisCreator( aHypType );
+    if( aHypType=="GHS3DPRL_Parameters" ||
+        aHypType=="MG-Tetra Parallel Parameters")
+      aCreator =  new GHS3DPRLPluginGUI_HypothesisCreator( "MG-Tetra Parallel Parameters" );
     return aCreator;
   }
 }