Fix pb with not selectable faces: incorrect condition on viewer type

This commit is contained in:
jfa 2005-08-18 04:44:49 +00:00
parent 3f1ffd58cd
commit e2e0cbee34

View File

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