]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
decorations
authoreap <eap@opencascade.com>
Fri, 14 Dec 2012 13:59:31 +0000 (13:59 +0000)
committereap <eap@opencascade.com>
Fri, 14 Dec 2012 13:59:31 +0000 (13:59 +0000)
src/GUI/NETGENPluginGUI.cxx

index 1484062ce2a2536769b02d80da03be2727626444..eff78f60daf4a78c7565634750762d034038c868 100755 (executable)
@@ -41,12 +41,18 @@ extern "C"
   SMESHGUI_GenericHypothesisCreator* GetHypothesisCreator( const QString& aHypType )
   {
     SMESHGUI_GenericHypothesisCreator* aCreator = NULL;
-    if( aHypType=="NETGEN_Parameters_2D" ||  aHypType=="NETGEN_Parameters" ||
-        aHypType=="NETGEN_Parameters_2D_ONLY" ||  aHypType=="NETGEN_Parameters_3D" )
+    if( aHypType=="NETGEN_Parameters_2D"      || // 1D-2D
+        aHypType=="NETGEN_Parameters"         || // 1D-2D-3D
+        aHypType=="NETGEN_Parameters_2D_ONLY" || // 2D
+        aHypType=="NETGEN_Parameters_3D"       ) // 3D
+    {
       aCreator =  new NETGENPluginGUI_HypothesisCreator( aHypType );
+    }
     else if ( aHypType=="NETGEN_SimpleParameters_2D" ||
               aHypType=="NETGEN_SimpleParameters_3D" )
+    {
       aCreator =  new NETGENPluginGUI_SimpleCreator( aHypType );
+    }
     return aCreator;
   }
 }