From: eap Date: Fri, 14 Dec 2012 13:59:31 +0000 (+0000) Subject: decorations X-Git-Tag: V6_main_FINAL~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e3e100b8f3d0847e39a6a8e0ab18feb9590035b4;p=plugins%2Fnetgenplugin.git decorations --- diff --git a/src/GUI/NETGENPluginGUI.cxx b/src/GUI/NETGENPluginGUI.cxx index 1484062..eff78f6 100755 --- a/src/GUI/NETGENPluginGUI.cxx +++ b/src/GUI/NETGENPluginGUI.cxx @@ -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; } }