diff --git a/src/js/pannellum.js b/src/js/pannellum.js index aead9d4..e4e4b33 100644 --- a/src/js/pannellum.js +++ b/src/js/pannellum.js @@ -2667,7 +2667,8 @@ this.addHotSpot = function(hs, sceneId) { if (sceneId === undefined || config.scene == sceneId) { // Add to current scene createHotSpot(hs); - renderHotSpot(hs); + if (loaded) + renderHotSpot(hs); } return this; }