Explorar o código

fix typo in glTFExporter.ts

Nicholas Barlow %!s(int64=6) %!d(string=hai) anos
pai
achega
a42255c098
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      serializers/src/glTF/2.0/glTFExporter.ts

+ 1 - 1
serializers/src/glTF/2.0/glTFExporter.ts

@@ -1196,7 +1196,7 @@ export class _Exporter {
                         let sideOrientation = babylonMaterial.sideOrientation;
 
                         // Only reverse the winding if we have a clockwise winding
-``                      if (sideOrientation === Material.ClockWiseSideOrientation) {
+                        if (sideOrientation === Material.ClockWiseSideOrientation) {
                             let byteOffset = indexBufferViewIndex != null ? this._bufferViews[indexBufferViewIndex].byteOffset : null;
                             if (byteOffset == null) { byteOffset = 0; }
                             let babylonIndices: Nullable<IndicesArray> = null;