freealise commited on
Commit
4071c34
1 Parent(s): e8c1a36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -605,12 +605,6 @@ with gr.Blocks(css=css) as demo:
605
 
606
  if (!BABYLON.Engine.LastCreatedScene.activeCamera.metadata.gizmoManager) {
607
  BABYLON.Engine.LastCreatedScene.activeCamera.metadata.gizmoManager = new BABYLON.GizmoManager(BABYLON.Engine.LastCreatedScene, 16);
608
- BABYLON.Engine.LastCreatedScene.activeCamera.metadata.gizmoManager.xGizmo._coloredMaterial.diffuseColor = new BABYLON.Color3(1,1,0);
609
- BABYLON.Engine.LastCreatedScene.activeCamera.metadata.gizmoManager.xGizmo._hoverMaterial.diffuseColor = new BABYLON.Color3(1,1,1);
610
- BABYLON.Engine.LastCreatedScene.activeCamera.metadata.gizmoManager.yGizmo._coloredMaterial.diffuseColor = new BABYLON.Color3(0,1,1);
611
- BABYLON.Engine.LastCreatedScene.activeCamera.metadata.gizmoManager.yGizmo._hoverMaterial.diffuseColor = new BABYLON.Color3(1,1,1);
612
- BABYLON.Engine.LastCreatedScene.activeCamera.metadata.gizmoManager.zGizmo._coloredMaterial.diffuseColor = new BABYLON.Color3(1,0,1);
613
- BABYLON.Engine.LastCreatedScene.activeCamera.metadata.gizmoManager.zGizmo._hoverMaterial.diffuseColor = new BABYLON.Color3(1,1,1);
614
 
615
  BABYLON.Engine.LastCreatedScene.activeCamera.metadata.gizmoManager.positionGizmoEnabled = true;
616
  BABYLON.Engine.LastCreatedScene.activeCamera.metadata.gizmoManager.rotationGizmoEnabled = false;
 
605
 
606
  if (!BABYLON.Engine.LastCreatedScene.activeCamera.metadata.gizmoManager) {
607
  BABYLON.Engine.LastCreatedScene.activeCamera.metadata.gizmoManager = new BABYLON.GizmoManager(BABYLON.Engine.LastCreatedScene, 16);
 
 
 
 
 
 
608
 
609
  BABYLON.Engine.LastCreatedScene.activeCamera.metadata.gizmoManager.positionGizmoEnabled = true;
610
  BABYLON.Engine.LastCreatedScene.activeCamera.metadata.gizmoManager.rotationGizmoEnabled = false;