I am sometimes getting this issue when on the loadscene command running from javascript. Sometimes it is work find and switch between panoramas but sometimes not. Do you guys have any ideas about why this could happen? Thank you in advance.
krpano_services.call("goto_pano('pano-scene-"+pano.id+"', 'hsp_"+$scope.local.hotspot.id+"');")
<action name="goto_pano">
showlog(true);
trace(%1);
trace(%2);
looktohotspot(%2, 45, smooth(500,500,500));
loadscene(%1, null, MERGE, BLEND(1));
</action>
ZitatAlles anzeigenVM3678:1 Uncaught TypeError: Cannot read property 'index' of undefined
at vb.removearrayitem.removeItem (eval at embedpano (tour.js:10), <anonymous>:1:49198)
at k (eval at embedpano (tour.js:10), <anonymous>:1:150007)
at v (eval at embedpano (tour.js:10), <anonymous>:1:153101)
at eval (eval at embedpano (tour.js:10), <anonymous>:1:149196)
at eval (eval at embedpano (tour.js:10), <anonymous>:1:74850)
at w (eval at embedpano (tour.js:10), <anonymous>:1:74572)
at G (eval at embedpano (tour.js:10), <anonymous>:1:74683)
at eval (eval at embedpano (tour.js:10), <anonymous>:1:74818)
at Object.b [as loadxml] (eval at embedpano (tour.js:10), <anonymous>:1:149125)
at Function.n.loadscene (eval at embedpano (tour.js:10), <anonymous>:1:102553)
removearrayitem.removeItem @ VM3678:1