From 50bbf16826714ffd3aef8917f2c96001e3c27006 Mon Sep 17 00:00:00 2001 From: jkcuk <44874423+jkcuk@users.noreply.github.com> Date: Thu, 14 Mar 2024 20:11:59 +0000 Subject: [PATCH] Update main.js --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 2226d12..7ec6add 100644 --- a/main.js +++ b/main.js @@ -453,7 +453,7 @@ function addOrbitControls() { controls.dampingFactor = 0.05; controls.enablePan = false; - controls.enableZoom = false; + controls.enableZoom = true; // allowing control of the distance can result in the view being no longer // centred on the origin, so don't allow it