Spaces:
Starting
Starting
Update app.py
Browse files
app.py
CHANGED
@@ -643,8 +643,8 @@ async(p, d, n)=>{
|
|
643 |
bg[i] /= 255;
|
644 |
}
|
645 |
BABYLON.Engine.LastCreatedScene.clearColor = new BABYLON.Color4(bg[0], bg[1], bg[2], bg[3]);
|
646 |
-
BABYLON.Engine.LastCreatedScene.autoClear = false;
|
647 |
-
BABYLON.Engine.LastCreatedScene.autoClearDepthAndStencil = false;
|
648 |
for (var i=0; i<BABYLON.Engine.LastCreatedScene.getNodes().length; i++) {
|
649 |
if (BABYLON.Engine.LastCreatedScene.getNodes()[i].material) {
|
650 |
BABYLON.Engine.LastCreatedScene.getNodes()[i].material.pointSize = Math.ceil(Math.log2(Math.PI/document.getElementById("zoom").value));
|
|
|
643 |
bg[i] /= 255;
|
644 |
}
|
645 |
BABYLON.Engine.LastCreatedScene.clearColor = new BABYLON.Color4(bg[0], bg[1], bg[2], bg[3]);
|
646 |
+
//BABYLON.Engine.LastCreatedScene.autoClear = false;
|
647 |
+
//BABYLON.Engine.LastCreatedScene.autoClearDepthAndStencil = false;
|
648 |
for (var i=0; i<BABYLON.Engine.LastCreatedScene.getNodes().length; i++) {
|
649 |
if (BABYLON.Engine.LastCreatedScene.getNodes()[i].material) {
|
650 |
BABYLON.Engine.LastCreatedScene.getNodes()[i].material.pointSize = Math.ceil(Math.log2(Math.PI/document.getElementById("zoom").value));
|