From 60bb766baab8b2abd3e0ef63079582f7bd983536 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@63.com> Date: 星期五, 19 八月 2022 09:23:04 +0800 Subject: [PATCH] # --- views/sketh/js/InitCommon.js | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/views/sketh/js/InitCommon.js b/views/sketh/js/InitCommon.js index 6e0fd68..ed96ce3 100644 --- a/views/sketh/js/InitCommon.js +++ b/views/sketh/js/InitCommon.js @@ -280,8 +280,8 @@ // gui = new g(); // same as gui = new GUI(); // pixel_ResolutionController = gui.add(pixel_ResolutionObject, 'pixel_Resolution', 0.5, 1.0, 0.05).onChange(handlePixelResolutionChange); - if (!mouseControl) - orthographicCamera_ToggleController = gui.add(orthographicCamera_ToggleObject, 'Orthographic_Camera', false).onChange(handleCameraProjectionChange); + // if (!mouseControl) // todo: 鏄惁鑳藉鐐瑰嚮 + // orthographicCamera_ToggleController = gui.add(orthographicCamera_ToggleObject, 'Orthographic_Camera', false).onChange(handleCameraProjectionChange); // gui.domElement.style.userSelect = "none"; // gui.domElement.style.MozUserSelect = "none"; @@ -457,11 +457,11 @@ initSceneData(); // pixel_ResolutionController.setValue(pixelRatio); - if (!allowOrthographicCamera && !mouseControl) - { - orthographicCamera_ToggleController.domElement.hidden = true; - orthographicCamera_ToggleController.domElement.remove(); - } + // if (!allowOrthographicCamera && !mouseControl) + // { + // orthographicCamera_ToggleController.domElement.hidden = true; + // orthographicCamera_ToggleController.domElement.remove(); + // } -- Gitblit v1.9.1