]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Use ViewCube from OCCT
authorvsv <vsv@opencascade.com>
Wed, 26 Feb 2020 16:55:08 +0000 (19:55 +0300)
committervsv <vsv@opencascade.com>
Wed, 26 Feb 2020 16:55:08 +0000 (19:55 +0300)
src/XGUI/XGUI_Displayer.cpp
src/XGUI/XGUI_Selection.cpp

index 00360a96defc2743b9c8edb97c976c1f76507aaa..155eb2082991273500660f3737bc0ba33c0f545d 100644 (file)
@@ -77,6 +77,7 @@
 
 #include <TColStd_MapOfTransient.hxx>
 #include <TColStd_MapIteratorOfMapOfTransient.hxx>
+#include <Standard_Version.hxx>
 
 #ifdef TINSPECTOR
 #include <inspector/VInspectorAPI_CallBack.hxx>
index 60fe5e30f296d254f0d42ec2b75136524b02b07e..c2bb4cd556c0da446fa4241d5ba49bb325fa86da 100644 (file)
@@ -24,7 +24,7 @@
 #include "XGUI_ObjectsBrowser.h"
 
 #ifndef HAVE_SALOME
-#include <AppElements_ViewCube.h>
+#include <AIS_ViewCube.h>
 #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