From e3e100b8f3d0847e39a6a8e0ab18feb9590035b4 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 14 Dec 2012 13:59:31 +0000 Subject: [PATCH] decorations --- src/GUI/NETGENPluginGUI.cxx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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; } } -- 2.39.2