diff --git a/Common_glTF_Exporter/Utils/glTFExportUtils.cs b/Common_glTF_Exporter/Utils/glTFExportUtils.cs index 2eb5154..476bcf8 100644 --- a/Common_glTF_Exporter/Utils/glTFExportUtils.cs +++ b/Common_glTF_Exporter/Utils/glTFExportUtils.cs @@ -205,9 +205,12 @@ public static void AddNormals(Transform transform, PolymeshTopology polymesh, Li { var newNormal = transform.OfVector(normal).Normalize(); - normals.Add(newNormal.X); - normals.Add(newNormal.Y); - normals.Add(newNormal.Z); + for (int j = 0; j < 3; j++) + { + normals.Add(newNormal.X); + normals.Add(newNormal.Y); + normals.Add(newNormal.Z); + } } break; diff --git a/README.md b/README.md index 621249b..29f0de5 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,11 @@ If you're interested in contributing to glTF exporter, just submit a [pull reque ## Installation Looking to get the revit-glTF-exporter add-in? Check out [Autodesk app store](https://apps.autodesk.com/RVT/es/Detail/Index?id=492952120634946986&appLang=en&os=Win64). +## Sponsors ## +Thanks to all the sponsors that have helped us improve Leia. If you want to be one let us know! + +[](https://www.visiofy.com/) + ## About us ## We are an international mix of AEC professionals, product designers, and software developers. We work together to transform construction requirements into accurate and partnership-driven technological solutions.