Browse Source

完善修改

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

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