decorations
This commit is contained in:
parent
a1768305c4
commit
e3e100b8f3
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user