diff --git a/ShadowEditor.Web/src/component/control/OrbitControlComponent.js b/ShadowEditor.Web/src/component/control/OrbitControlComponent.js index 83c2caa5..bdc35785 100644 --- a/ShadowEditor.Web/src/component/control/OrbitControlComponent.js +++ b/ShadowEditor.Web/src/component/control/OrbitControlComponent.js @@ -315,11 +315,11 @@ OrbitControlComponent.prototype.updateUI = function () { var options = this.selected.userData.orbitOptions || { minDistance: 0, - maxDistance: Infinity, + maxDistance: 99999, minPolarAngle: 0, maxPolarAngle: Math.PI, - minAzimuthAngle: - Infinity, - maxAzimuthAngle: Infinity, + minAzimuthAngle: - 9999, + maxAzimuthAngle: 9999, enableDamping: false, dampingFactor: 0.25, enableZoom: true,