From: vsv Date: Wed, 26 Feb 2020 16:55:08 +0000 (+0300) Subject: Use ViewCube from OCCT X-Git-Tag: V9_5_0a2~88 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=96bd107ebe4573f8dfff512681abc2cc82cb2bce;p=modules%2Fshaper.git Use ViewCube from OCCT --- 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