Samuel Girardin 10 лет назад
Родитель
Сommit
6e3dd5ff8c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Babylon/Mesh/babylon.polygonmesh.js

+ 1 - 1
Babylon/Mesh/babylon.polygonmesh.js

@@ -137,7 +137,7 @@ var BABYLON;
                 });
             });
             result.setVerticesData(VertexBuffer.PositionKind,positions,  updatable);
-            result.setVerticesData(VertexBuffer.NormalKind,  updatable);
+            result.setVerticesData(VertexBuffer.NormalKind,normals, updatable);
             result.setVerticesData(VertexBuffer.UVKind,uvs, updatable);
             result.setIndices(indices);
             return result;