Salome HOME
Updated copyright comment
[modules/gui.git] / src / ViewerData / ViewerData_AISShape.cxx
index 85e3763cd098f03c76a673f0ef0a33f12736f8f6..056c1787d257940f73d71edb6606722f0d0569ef 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2021  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2024  CEA, EDF, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -22,6 +22,8 @@
 
 #include "ViewerData_AISShape.hxx"
 
+#include <Basics_OCCTVersion.hxx>
+
 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
 }
 
 /*!