Browse Source

完善修改

dev
刘向辉 3 years ago
parent
commit
ffe5efaa6a
  1. 2
      package.json
  2. 2
      src/app/babylon/controller/scene-manager.ts

2
package.json

@ -80,4 +80,4 @@
"tslint": "~5.15.0",
"typescript": "~3.7.5"
}
}
}

2
src/app/babylon/controller/scene-manager.ts

@ -431,7 +431,7 @@ export class SceneManager {
if (ev.altKey && ev.key == 'd' && ModeManager.isDebug) {
SceneManager.showDebug = !SceneManager.showDebug;
if (SceneManager.showDebug) {
SceneManager.Instance.scene.debugLayer.show();
SceneManager.Instance.scene.debugLayer.show({ embedMode: true });
} else {
SceneManager.Instance.scene.debugLayer.hide();
}

Loading…
Cancel
Save