From 94e1d3f340c5fdf9067c9ba5650c32af0e57d472 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 7 Oct 2015 17:48:35 +0300 Subject: [PATCH] 2889: Wrong default name for the created "NETGEN 2D Parameters" hypothesis --- src/GUI/NETGENPluginGUI_HypothesisCreator.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GUI/NETGENPluginGUI_HypothesisCreator.cxx b/src/GUI/NETGENPluginGUI_HypothesisCreator.cxx index eacc999..d09a15a 100644 --- a/src/GUI/NETGENPluginGUI_HypothesisCreator.cxx +++ b/src/GUI/NETGENPluginGUI_HypothesisCreator.cxx @@ -389,8 +389,8 @@ bool NETGENPluginGUI_HypothesisCreator::readParamsFromHypo( NetgenHypothesisData NETGENPlugin::NETGENPlugin_Hypothesis_var h = NETGENPlugin::NETGENPlugin_Hypothesis::_narrow( initParamsHypothesis() ); - HypothesisData* data = SMESH::GetHypothesisData( hypType() ); - h_data.myName = isCreation() && data ? data->Label : ""; + //HypothesisData* data = SMESH::GetHypothesisData( hypType() ); + h_data.myName = isCreation() ? hypName() : ""; h_data.myMaxSize = h->GetMaxSize(); h_data.myMaxSizeVar = getVariableName("SetMaxSize"); -- 2.39.2