From e2e0cbee343e9c4132d651ef1955830393c63783 Mon Sep 17 00:00:00 2001 From: jfa Date: Thu, 18 Aug 2005 04:44:49 +0000 Subject: [PATCH] Fix pb with not selectable faces: incorrect condition on viewer type --- src/BlocksGUI/BlocksGUI_TrsfDlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2