This website works better with JavaScript.
首頁
說明
登入
heuzef
/
pannellum
镜像来自
https://github.com/mpetroff/pannellum.git
關註
1
收藏
0
複製
0
程式碼
問題管理
0
版本發佈
22
Wiki
Activity
瀏覽代碼
Stop motion on scene changes (only affects API-initiated changes).
pull/189/head
Matthew Petroff
8 年之前
父節點
234201ea41
當前提交
6cf5532ba1
共有
1 個文件被更改
,包括
4 次插入
和
1 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
src/js/pannellum.js
+ 4
- 1
src/js/pannellum.js
查看文件
@@ -1865,7 +1865,10 @@ function loadScene(sceneId, targetPitch, targetYaw, targetHfov, fadeDone) {
// Create the new config for the scene
mergeConfig(sceneId);
// Stop motion
yawSpeed = pitchSpeed = zoomSpeed = 0;
// Reload scene
processOptions();
if (workingPitch !== undefined) {
Write
Preview
Loading…
取消
儲存