mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-04 04:40:33 +05:00
Fix pb with not selectable faces: incorrect condition on viewer type
This commit is contained in:
parent
3f1ffd58cd
commit
e2e0cbee34
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user