mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 18:18:35 +05:00
Additional fix for the "0021239: EDF 1829 OCC: Bring to front selected objects" issue.
This commit is contained in:
parent
43d4c69120
commit
eee32dc020
@ -23,8 +23,6 @@
|
|||||||
// File : GEOMToolsGUI_1.cxx
|
// File : GEOMToolsGUI_1.cxx
|
||||||
// Author : Sergey ANIKIN, Open CASCADE S.A.S. (sergey.anikin@opencascade.com)
|
// Author : Sergey ANIKIN, Open CASCADE S.A.S. (sergey.anikin@opencascade.com)
|
||||||
|
|
||||||
#define protected public
|
|
||||||
|
|
||||||
#include <PyConsole_Console.h>
|
#include <PyConsole_Console.h>
|
||||||
|
|
||||||
#include "GEOMToolsGUI.h"
|
#include "GEOMToolsGUI.h"
|
||||||
@ -1232,7 +1230,7 @@ void GEOMToolsGUI::OnBringToFront() {
|
|||||||
|
|
||||||
bool isOCC = ( window && window->getViewManager()->getType() == OCCViewer_Viewer::Type() );
|
bool isOCC = ( window && window->getViewManager()->getType() == OCCViewer_Viewer::Type() );
|
||||||
|
|
||||||
QAction* a = getGeometryGUI()->action( GEOMOp::OpBringToFront );
|
QAction* a = getGeometryGUI()->getAction( GEOMOp::OpBringToFront );
|
||||||
bool checked = a->isChecked();
|
bool checked = a->isChecked();
|
||||||
|
|
||||||
if ( isOCC ) {
|
if ( isOCC ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user