Skip to content

Commit

Permalink
Update index.htm
Browse files Browse the repository at this point in the history
  • Loading branch information
freealise authored Sep 1, 2024
1 parent b3cce14 commit b2067ef
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions examples/basic/index.htm
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,8 @@
var fln = "example.glb";
var url = "https://huggingface.co/spaces/freealise/Depth-Anything-Video/resolve/main/";
}

BABYLON.SceneLoader.Append(url, fln, scene, function (scene) {
try {
BABYLON.SceneLoader.Append(url, fln, scene, function (scene) {
engine.setHardwareScalingLevel(1.0);
var bg = JSON.parse(document.getElementById("bgcolor").value);
for (var i=0; i<bg.length; i++) {
Expand Down Expand Up @@ -192,9 +191,8 @@
}
document.getElementById("scale").onclick = function(event) {
}
} catch(e) {alert(e);}

});
} catch(e) {alert(e);}
return scene;
}
}
Expand Down

0 comments on commit b2067ef

Please sign in to comment.