Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »martyhr« (7. Januar 2022, 12:28)
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »martyhr« (6. Januar 2022, 18:10)
I just want to know if 1.20.11 changed and if not, why I can not use my startscene like in my 1.20.5.Hi, look at here https://krpano.com/docu/html/#passQueryParameters
Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
|
|
Quellcode |
1 2 3 4 5 |
<action name="startup" autorun="onstart"> if(startscene === null OR !scene[get(startscene)], copy(startscene,scene[0].name); ); loadscene(get(startscene), null, MERGE); if(startactions !== null, startactions() ); </action> |
: https://pame.virtualtuur.com|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 |
<action name="skin_onstart_loadscene" scope="local" autorun="onstart">
<!-- load first scene -->
loadscene(calc(skin_settings.deeplinking == true AND isset(startscene) ? startscene : 0), null, MERGE);
<!-- set optional deeplinking startup lookat -->
if(skin_settings.deeplinking == true AND isset(startlookat),
txtsplit(startlookat, ',', hlookat,vlookat,fov,distortion,architectural);
lookat(get(hlookat),get(vlookat),get(fov),get(distortion),get(architectural));
);
</action>
|
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 |
<action name="skin_onstart_loadscene" scope="local" autorun="onstart">
<!-- load first scene -->
loadscene(calc(isset(startscene) ? startscene : 0), null, MERGE);
<!-- set optional deeplinking startup lookat -->
if(isset(startlookat),
txtsplit(startlookat, ',', hlookat,vlookat,fov,distortion,architectural);
lookat(get(hlookat),get(vlookat),get(fov),get(distortion),get(architectural));
);
</action>
|