initialize myAllowQuadrangles for 3D hyp
This commit is contained in:
parent
6e9adf3812
commit
9dd6e6252a
@ -389,13 +389,13 @@ bool NETGENPluginGUI_HypothesisCreator::readParamsFromHypo( NetgenHypothesisData
|
|||||||
h_data.myMinSize = h->GetMinSize();
|
h_data.myMinSize = h->GetMinSize();
|
||||||
h_data.myMinSizeVar = getVariableName("SetMinSize");
|
h_data.myMinSizeVar = getVariableName("SetMinSize");
|
||||||
|
|
||||||
if ( myIs2D )
|
//if ( myIs2D )
|
||||||
{
|
{
|
||||||
NETGENPlugin::NETGENPlugin_Hypothesis_2D_var h_2d =
|
NETGENPlugin::NETGENPlugin_Hypothesis_var h =
|
||||||
NETGENPlugin::NETGENPlugin_Hypothesis_2D::_narrow( initParamsHypothesis() );
|
NETGENPlugin::NETGENPlugin_Hypothesis::_narrow( initParamsHypothesis() );
|
||||||
|
|
||||||
if ( !h_2d->_is_nil() )
|
if ( !h->_is_nil() )
|
||||||
h_data.myAllowQuadrangles = h_2d->GetQuadAllowed();
|
h_data.myAllowQuadrangles = h->GetQuadAllowed();
|
||||||
}
|
}
|
||||||
|
|
||||||
NETGENPluginGUI_HypothesisCreator* that = (NETGENPluginGUI_HypothesisCreator*)this;
|
NETGENPluginGUI_HypothesisCreator* that = (NETGENPluginGUI_HypothesisCreator*)this;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user