]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Bug IPAL19097 NPAL16768 is not implemented for "Normal to a face"
authordmv <dmv@opencascade.com>
Tue, 12 Aug 2008 11:09:36 +0000 (11:09 +0000)
committerdmv <dmv@opencascade.com>
Tue, 12 Aug 2008 11:09:36 +0000 (11:09 +0000)
src/MeasureGUI/MeasureGUI_NormaleDlg.cxx

index ad227c4b3c66180a29e213f3b3e4204d36edbf48..9c064e60bb5605b712fe75827272e3cb340a417c 100644 (file)
@@ -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() ) );