瀏覽代碼

Merge pull request #234 from Aykelith/master

Send the sceneId to 'scenechange' event
pull/238/merge
Matthew Petroff 8 年之前
committed by GitHub
父節點
當前提交
9221bf7d43
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/js/pannellum.js

+ 1
- 1
src/js/pannellum.js 查看文件

@@ -2051,7 +2051,7 @@ function loadScene(sceneId, targetPitch, targetYaw, targetHfov, fadeDone) {
if (workingHfov !== undefined) {
config.hfov = workingHfov;
}
fireEvent('scenechange');
fireEvent('scenechange', sceneId);
load();
}



Loading…
取消
儲存