From 870166e536aadef018cee2d93eba6b818607767c Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 25 Apr 2023 02:29:20 +0100 Subject: Allow setting a flag to say (vertex) normals have been provided --- assetFactory/modelFactoryMesh.h | 1 + 1 file changed, 1 insertion(+) (limited to 'assetFactory') diff --git a/assetFactory/modelFactoryMesh.h b/assetFactory/modelFactoryMesh.h index 4eac7ee..012977a 100644 --- a/assetFactory/modelFactoryMesh.h +++ b/assetFactory/modelFactoryMesh.h @@ -47,6 +47,7 @@ struct ModelFactoryTraits : public OpenMesh::DefaultTraits { struct ModelFactoryMesh : public OpenMesh::PolyMesh_ArrayKernelT { ModelFactoryMesh(); + bool normalsProvidedProperty {}; OpenMesh::FPropHandleT smoothFaceProperty; OpenMesh::FPropHandleT materialFaceProperty; OpenMesh::FPropHandleT nameFaceProperty; -- cgit v1.2.3