From ad29333996df748aa5082b4c34c378289fc5dbe5 Mon Sep 17 00:00:00 2001 From: jfa Date: Mon, 27 Feb 2023 09:45:46 +0000 Subject: [PATCH] Porting Salome to OCCT 7.7.0 --- src/ViewerData/ViewerData_AISShape.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ViewerData/ViewerData_AISShape.cxx b/src/ViewerData/ViewerData_AISShape.cxx index 2744a851b..aab4f016c 100644 --- a/src/ViewerData/ViewerData_AISShape.cxx +++ b/src/ViewerData/ViewerData_AISShape.cxx @@ -22,6 +22,8 @@ #include "ViewerData_AISShape.hxx" +#include + IMPLEMENT_STANDARD_RTTIEXT(ViewerData_AISShape, AIS_ColoredShape) /*! @@ -32,6 +34,9 @@ ViewerData_AISShape::ViewerData_AISShape(const TopoDS_Shape& theShape) : AIS_ColoredShape(theShape), myIsClippable(true) { +#if OCC_VERSION_LARGE >= 0x07070000 + myDrawer->SetupOwnDefaults(); +#endif } /*! -- 2.30.2