Browse Source

Send the sceneId to 'scenechange' event

pull/234/head
Prisacariu Alexandru 8 years ago
parent
commit
0c3b35da42
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/js/pannellum.js

+ 1
- 1
src/js/pannellum.js View File

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



Loading…
Cancel
Save