freealise commited on
Commit
0b2c9a7
·
verified ·
1 Parent(s): 292083e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -936,7 +936,7 @@ window.snapshot = snapshot;
936
  forceUpdate
937
  ) {
938
  if (!mesh.isVerticesDataPresent(BABYLON.VertexBuffer.PositionKind) || !mesh.isVerticesDataPresent(BABYLON.VertexBuffer.NormalKind) || !mesh.isVerticesDataPresent(BABYLON.VertexBuffer.UVKind)) {
939
- alert("Cannot call applyDisplacementMap: Given mesh is not complete. Position, Normal or UV are missing "+!mesh.isVerticesDataPresent(BABYLON.VertexBuffer.NormalKind);
940
  return mesh;
941
  }
942
 
 
936
  forceUpdate
937
  ) {
938
  if (!mesh.isVerticesDataPresent(BABYLON.VertexBuffer.PositionKind) || !mesh.isVerticesDataPresent(BABYLON.VertexBuffer.NormalKind) || !mesh.isVerticesDataPresent(BABYLON.VertexBuffer.UVKind)) {
939
+ alert("Cannot call applyDisplacementMap: Given mesh is not complete. Position, Normal or UV are missing "+!mesh.isVerticesDataPresent(BABYLON.VertexBuffer.NormalKind));
940
  return mesh;
941
  }
942