12 lines
795 B
Diff
12 lines
795 B
Diff
--- OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/OpenCASCADE/ReaderWriterOpenCASCADE.cpp.orig 2022-05-30 15:26:10.398318867 +0200
|
|
+++ OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/OpenCASCADE/ReaderWriterOpenCASCADE.cpp 2022-05-30 15:29:22.685202309 +0200
|
|
@@ -211,7 +211,7 @@
|
|
{
|
|
// populate vertex list
|
|
// Ref: http://www.opencascade.org/org/forum/thread_16694/?forum=3
|
|
- gp_Pnt pt = (triangulation->Nodes())(j).Transformed(transformation * location.Transformation());
|
|
+ gp_Pnt pt = triangulation->Node(j).Transformed(transformation * location.Transformation());
|
|
vertexList->push_back(osg::Vec3(pt.X(), pt.Y(), pt.Z()));
|
|
|
|
// populate color list
|