You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Friday, December 21st 2018, 8:32pm

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?

Source code

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

Sage

Posts: 3,207

Location: Netherlands

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

  • Send private message

2

Saturday, December 22nd 2018, 1:22pm

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*
http://www.virtualtuur.com
Skype:studiotuur