Salome HOME
Fix pb with not selectable faces: incorrect condition on viewer type
authorjfa <jfa@opencascade.com>
Thu, 18 Aug 2005 04:44:49 +0000 (04:44 +0000)
committerjfa <jfa@opencascade.com>
Thu, 18 Aug 2005 04:44:49 +0000 (04:44 +0000)
src/BlocksGUI/BlocksGUI_TrsfDlg.cxx

index 0820f30d6c82e310dd81a4f88388f9db369856e6..7dca35c48c04a58a9e335f9596487fcd72f5be3a 100644 (file)
@@ -398,7 +398,7 @@ void BlocksGUI_TrsfDlg::activateSelection()
 
     // Local selection is available only in the OCC Viewer
     if (SUIT_Session::session()->activeApplication()->desktop()->activeWindow()->getViewManager()->getType() 
-       != OCCViewer_Viewer::Type()) {
+       == OCCViewer_Viewer::Type()) {
       localSelection(myShape, TopAbs_FACE);
     } else {
       return;