From: dmv Date: Tue, 12 Aug 2008 11:09:36 +0000 (+0000) Subject: Bug IPAL19097 NPAL16768 is not implemented for "Normal to a face" X-Git-Tag: V5_1_0a1~25 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f3d19bfb62dda31eb746ef5a623b7fac8f026b3f;p=modules%2Fgeom.git Bug IPAL19097 NPAL16768 is not implemented for "Normal to a face" --- diff --git a/src/MeasureGUI/MeasureGUI_NormaleDlg.cxx b/src/MeasureGUI/MeasureGUI_NormaleDlg.cxx index ad227c4b3..9c064e60b 100644 --- a/src/MeasureGUI/MeasureGUI_NormaleDlg.cxx +++ b/src/MeasureGUI/MeasureGUI_NormaleDlg.cxx @@ -108,7 +108,8 @@ void MeasureGUI_NormaleDlg::Init() myPoint = GEOM::GEOM_Object::_nil(); myEditCurrentArgument = GroupArgs->LineEdit1; - globalSelection( GEOM_FACE ); + globalSelection( GEOM_FACE ); // to close previous local selection + localSelection( GEOM::GEOM_Object::_nil(), TopAbs_FACE ); /* signals and slots connections */ connect( buttonOk(), SIGNAL( clicked() ), this, SLOT( ClickOnOk() ) );