|
@@ -1372,6 +1372,7 @@ function animate() { |
|
|
} else if (renderer && (renderer.isLoading() || (config.dynamic === true && update))) { |
|
|
} else if (renderer && (renderer.isLoading() || (config.dynamic === true && update))) { |
|
|
requestAnimationFrame(animate); |
|
|
requestAnimationFrame(animate); |
|
|
} else { |
|
|
} else { |
|
|
|
|
|
fireEvent('animateFinished', {pitch: _this.getPitch(), yaw: _this.getYaw(), hfov: _this.getHfov()}); |
|
|
animating = false; |
|
|
animating = false; |
|
|
prevTime = undefined; |
|
|
prevTime = undefined; |
|
|
var autoRotateStartTime = config.autoRotateInactivityDelay - |
|
|
var autoRotateStartTime = config.autoRotateInactivityDelay - |
|
|