浏览代码

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();
}



正在加载...
取消
保存