1001 question about dynamic adding hotspotm (solved)

  • Can't understand one simple thing:

    Wnen i dynamicly creating hotspot via addhotspot() function https://krpano.com/docu/actions/#addhotspot let's to say in one scene, hotspot places outside the <scene> </scene> tag.

    If i get xml.scene of the current scene, there is now hotspot, that i added

    But... in vrtoureditor.swf when i make hotspot to connect scenes, it places right in the current scene. And the question is - HOW??? *confused*

    Edited once, last by Recky (June 11, 2017 at 12:14 PM).

  • Finaly i did it! The only way to add xml of the added hot spot is setting scene.content
    Step one - get scene.content
    Step two - forming string of the hotspot
    step three - combine scene.content and forming hotspot string
    step four - set new scene.content

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!