Browse Source

Merge pull request #234 from Aykelith/master

Send the sceneId to 'scenechange' event
pull/238/merge
Matthew Petroff 8 years ago
committed by GitHub
parent
commit
9221bf7d43
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