VT Button Set Swapout

  • Hello

    In a virtual tour ...


    Per each pano - I have a individual xml assigned to it - I would like to have a different set of the buttons when certain scenes load during the tour - but when i go thru the scenes - all the buttons remain the same?


    its like the first xml - "tour.xml" takes control of the virtual tour buttons and will not let the other scenes .xml file change the buttons when a the new scene button set loads??

    Thanks

    *cool* Kent

  • Hi,

    this depends how the other panos were loaded or if the buttons have the "keep" attribute set to "true",
    e.g. when you load other panos with KEEPALL - all current buttons(plugins) will be kept,
    but if you use MERGE instead of KEEPALL only the plugins with keep="true" will be kept,
    this can be used to have different buttons on every pano,

    e.g. use such loadpano call:

    Code
    loadpano(pano2.xml,null,MERGE,BLEND(1));

    have also a look on the "flags" here:
    https://krpano.com/docu/actions/#loadpano

    best regards,
    Klaus

Participate now!

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