mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-25 15:08:11 +00:00
修复Infinity和-Infinity序列化为null的问题。
This commit is contained in:
parent
9bcd8b8667
commit
fa1f40f169
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user