XML template variables?
-
-
Hi!You can include (load) xml dinamicaly by loadpano function
for example
action name="include_my_xml"
loadpano(%1,null,MERGE);
/action
and lut it in onstart event
onstart="include_my_xml(my.xml);"Hope it help
Andrey -
Hi!You can include (load) xml dinamicaly by loadpano function
for example
<action name="include_my_xml">
loadpano(%1,null,MERGE);
</action>
and lut it in onstart event
onstart="include_my_xml(my.xml);"Hope it help
AndreyThis didnt work for me, if you work with scenes. The panorama is black and all scenes are lost. It probally would work if all the photos have seperate xmls, but doesnt work for scenes.
try the following code, and you'll see:
-
Hi!
Yes you right
For keep scenes use flag KEEPSCENES with MERGE
for example
loadpano(myxml.xml,null,MERGE|KEEPSCENES);And all be OK!
Take a look at documentation https://krpano.com/docu/actions/#loadpano (Possible flags: part)
Regards!
Andrey -
ah ofcourse! I always use merge, thinking it includes the KEEPSCENES flag. thanks!
-
-
hmmm ok maybe KEEPSCENES doesn't keep the pano image...
as klaus say here : https://krpano.com/forum/wbb/inde…d&threadID=6181
Klaus : +1 for KEEPIMAGE flag soon!
regards
-
Something new about the KEEPIMAGE flag?
It would really help to simplify things...
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!