Update app.py
Browse files
app.py
CHANGED
@@ -672,7 +672,8 @@ async(c, o, p, d, n, m)=>{
|
|
672 |
[document.getElementById("output_video").getElementsByTagName("video")[0].src],
|
673 |
{
|
674 |
resolution: 16,
|
675 |
-
size: 512
|
|
|
676 |
}, BABYLON.Engine.LastCreatedScene
|
677 |
);
|
678 |
/*
|
@@ -935,7 +936,7 @@ window.snapshot = snapshot;
|
|
935 |
forceUpdate
|
936 |
) {
|
937 |
if (!mesh.isVerticesDataPresent(BABYLON.VertexBuffer.PositionKind) || !mesh.isVerticesDataPresent(BABYLON.VertexBuffer.NormalKind) || !mesh.isVerticesDataPresent(BABYLON.VertexBuffer.UVKind)) {
|
938 |
-
alert("Cannot call applyDisplacementMap: Given mesh is not complete. Position, Normal or UV are missing");
|
939 |
return mesh;
|
940 |
}
|
941 |
|
|
|
672 |
[document.getElementById("output_video").getElementsByTagName("video")[0].src],
|
673 |
{
|
674 |
resolution: 16,
|
675 |
+
size: 512,
|
676 |
+
autoPlay: false
|
677 |
}, BABYLON.Engine.LastCreatedScene
|
678 |
);
|
679 |
/*
|
|
|
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 |
|