Changed member variable name to be consistent with header

This commit is contained in:
OpenSceneGraph git repository
2018-08-17 09:22:40 +01:00
committed by mp3butcher
parent 968a427e00
commit bdd0be2f8f

View File

@@ -262,7 +262,7 @@ void IndexMeshVisitor::makeMesh(Geometry& geom)
}
// nothing to index
if (!numSurfacePrimitives || (!_isForcedReindexationEnable && !numNonIndexedPrimitives)) return;
if (!numSurfacePrimitives || (!_generateNewIndicesOnAllGeometries && !numNonIndexedPrimitives)) return;
// duplicate shared arrays as it isn't safe to rearrange vertices when arrays are shared.
if (geom.containsSharedArrays()) geom.duplicateSharedArrays();