Sie sind nicht angemeldet.

1

Freitag, 21. Dezember 2018, 20:32

Can't loadpano in for loop action

Trying to load some panos in for loop. And i can load after that only last one. Is it possible to solve this problem?

Quellcode

1
2
<action name="loop_xml">        for(set(i,0), i LT %1.count, inc(i), 	     loadpano(get(array[get(i)].url), null, MERGE, BLEND);
	);	loadscene(name, null, MERGE);</action>



Files are loaded in devtools, i see it. But it seems that krpano didn't parse it. Only one last xml can be loaded. Each XML file contain one <Scene>

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

2

Samstag, 22. Dezember 2018, 13:22

Hi,

not sure what you like to accomplish but 'for loop' is not the way to go ,doing something like this.
Can you explain what you want to do?

Tuur *thumbsup*