From 96bd107ebe4573f8dfff512681abc2cc82cb2bce Mon Sep 17 00:00:00 2001 From: vsv Date: Wed, 26 Feb 2020 19:55:08 +0300 Subject: [PATCH] Use ViewCube from OCCT --- src/XGUI/XGUI_Displayer.cpp | 1 + src/XGUI/XGUI_Selection.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/XGUI/XGUI_Displayer.cpp b/src/XGUI/XGUI_Displayer.cpp index 00360a96d..155eb2082 100644 --- a/src/XGUI/XGUI_Displayer.cpp +++ b/src/XGUI/XGUI_Displayer.cpp @@ -77,6 +77,7 @@ #include #include +#include #ifdef TINSPECTOR #include diff --git a/src/XGUI/XGUI_Selection.cpp b/src/XGUI/XGUI_Selection.cpp index 60fe5e30f..c2bb4cd55 100644 --- a/src/XGUI/XGUI_Selection.cpp +++ b/src/XGUI/XGUI_Selection.cpp @@ -24,7 +24,7 @@ #include "XGUI_ObjectsBrowser.h" #ifndef HAVE_SALOME -#include +#include #endif #include "ModuleBase_BRepOwner.h" @@ -203,7 +203,7 @@ void XGUI_Selection::fillPresentation(ModuleBase_ViewerPrsPtr& thePrs, Handle(AIS_InteractiveObject) anIO = Handle(AIS_InteractiveObject)::DownCast(theOwner->Selectable()); #ifndef HAVE_SALOME - Handle(AppElements_ViewCube) aCube = Handle(AppElements_ViewCube)::DownCast(anIO); + Handle(AIS_ViewCube) aCube = Handle(AIS_ViewCube)::DownCast(anIO); if (!aCube.IsNull()) return; #endif -- 2.39.2