Update app.py
Browse files
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 |
|