Skip to content

Commit

Permalink
Update GlbCreator.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
bertt authored Oct 24, 2023
1 parent 689e926 commit cf21b92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wkb2gltf.core/GlbCreator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ public static byte[] GetGlb(List<List<Triangle>> triangles, string copyright = "
model.LogicalNodes.First().LocalTransform = new SharpGLTF.Transforms.AffineTransform(localTransform);

if (addOutlines) {
CesiumExtensions.RegisterExtensions();
foreach (var primitive in model.LogicalMeshes[0].Primitives) {
CesiumExtensions.RegisterExtensions();
primitive.AddOutlines();
}
}
Expand Down

0 comments on commit cf21b92

Please sign in to comment.