From: akl Date: Wed, 27 Aug 2014 07:56:23 +0000 (+0400) Subject: Avoiding compilation problem with OCCT version < 6.7.2 because of 22617 integration. X-Git-Tag: V7_5_0a1~22 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=88911223a8aeee4051a01a2b93210803a61a82bb;p=modules%2Fgeom.git Avoiding compilation problem with OCCT version < 6.7.2 because of 22617 integration. --- 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();