event onremovepano activates erroneously just after scene onstart

  • Load tour:
    INFO: krpanostart
    INFO: sceneonstart
    INFO: onremovepano

    <krpano onstart="loadscene(get(scene[0].name),null,MERGE);"
    <event onremovepano=
    <scene ...

    onremovepano should not invoke at all when first viewing scene 0

    really onremovepano should invoke and complete prior to loading the scene at all.


    Using local named events makes this workflow work naturally.

    IE
    <krpano onstart="loadscene(get(scene[0].name),null,MERGE);"
    <scene ...
    <event name="scenename" onremovepano=

    So I guess this is just an FYI... carry on.

  • Hi,

    I know about these problems - the reason is the 'queueing' of the actions - everytime actions or events were called, they were put in a queue and the commands in that queue will be executed step by step.

    I'm already planing to remove that queueing in a newer krpano version and do an instant synchronous execution of the actions instead to avoid any execution order problems.

    Best regards,
    Klaus

Participate now!

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