From: jfa Date: Thu, 18 Aug 2005 04:44:49 +0000 (+0000) Subject: Fix pb with not selectable faces: incorrect condition on viewer type X-Git-Tag: T_3_0_2a1~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e2e0cbee343e9c4132d651ef1955830393c63783;p=modules%2Fgeom.git Fix pb with not selectable faces: incorrect condition on viewer type --- diff --git a/src/BlocksGUI/BlocksGUI_TrsfDlg.cxx b/src/BlocksGUI/BlocksGUI_TrsfDlg.cxx index 0820f30d6..7dca35c48 100644 --- a/src/BlocksGUI/BlocksGUI_TrsfDlg.cxx +++ b/src/BlocksGUI/BlocksGUI_TrsfDlg.cxx @@ -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;