|
@@ -1865,7 +1865,10 @@ function loadScene(sceneId, targetPitch, targetYaw, targetHfov, fadeDone) { |
|
|
|
|
|
|
|
|
// Create the new config for the scene |
|
|
// Create the new config for the scene |
|
|
mergeConfig(sceneId); |
|
|
mergeConfig(sceneId); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Stop motion |
|
|
|
|
|
yawSpeed = pitchSpeed = zoomSpeed = 0; |
|
|
|
|
|
|
|
|
// Reload scene |
|
|
// Reload scene |
|
|
processOptions(); |
|
|
processOptions(); |
|
|
if (workingPitch !== undefined) { |
|
|
if (workingPitch !== undefined) { |
|
|