Sfoglia il codice sorgente

Merge pull request #234 from Aykelith/master

Send the sceneId to 'scenechange' event
pull/238/merge
Matthew Petroff 8 anni fa
committed by GitHub
parent
commit
9221bf7d43
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/js/pannellum.js

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

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



Caricamento…
Annulla
Salva