From 0c3b35da42777c7bdfe6be5f0d084ce40a4c1d15 Mon Sep 17 00:00:00 2001 From: Prisacariu Alexandru Date: Fri, 26 Aug 2016 16:37:50 +0300 Subject: [PATCH] Send the sceneId to 'scenechange' event --- src/js/pannellum.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/pannellum.js b/src/js/pannellum.js index 1c6a207..9178340 100644 --- a/src/js/pannellum.js +++ b/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(); }