Salome HOME
projects
/
modules
/
gui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46e10fb
)
Porting Salome to OCCT 7.7.0
author
jfa
<jfa@opencascade.com>
Mon, 27 Feb 2023 09:45:46 +0000
(09:45 +0000)
committer
jfa
<jfa@opencascade.com>
Mon, 27 Feb 2023 09:45:46 +0000
(09:45 +0000)
src/ViewerData/ViewerData_AISShape.cxx
patch
|
blob
|
history
diff --git
a/src/ViewerData/ViewerData_AISShape.cxx
b/src/ViewerData/ViewerData_AISShape.cxx
index 2744a851bb12e9dece0ad2cbfb0e3b61d613cf2f..aab4f016ca071ff77ee463fd1139de74cf123f81 100644
(file)
--- a/
src/ViewerData/ViewerData_AISShape.cxx
+++ b/
src/ViewerData/ViewerData_AISShape.cxx
@@
-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
}
/*!