From 88911223a8aeee4051a01a2b93210803a61a82bb Mon Sep 17 00:00:00 2001 From: akl Date: Wed, 27 Aug 2014 11:56:23 +0400 Subject: [PATCH] Avoiding compilation problem with OCCT version < 6.7.2 because of 22617 integration. --- src/OBJECT/GEOM_AISShape.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/OBJECT/GEOM_AISShape.cxx b/src/OBJECT/GEOM_AISShape.cxx index a6ded99e0..341018e89 100644 --- a/src/OBJECT/GEOM_AISShape.cxx +++ b/src/OBJECT/GEOM_AISShape.cxx @@ -34,6 +34,8 @@ #include "SALOME_InteractiveObject.hxx" #include "GEOM_AISVector.hxx" +#include + // Open CASCADE Includes #include #include @@ -53,7 +55,9 @@ #include #include #include +#if OCC_VERSION_LARGE > 0x06070200 #include +#endif #include #include @@ -217,8 +221,10 @@ void GEOM_AISShape::Compute(const Handle(PrsMgr_PresentationManager3d)& aPresent bool anIsColorField = anIsField && myFieldDataType != GEOM::FDT_String; bool anIsTextField = anIsField && myFieldDataType == GEOM::FDT_String; +#if OCC_VERSION_LARGE > 0x06070200 if (isShowVertices()) myDrawer->SetVertexDrawMode(Prs3d_VDM_All); +#endif // StdSelect_DisplayMode d = (StdSelect_DisplayMode) aMode; bool isTopLev = isTopLevel() && switchTopLevel(); -- 2.39.2