How to dynamically remove <scene> element, same as removelayer(); do ?
How to dynamically remove <scene> ?
-
-
Not tested but delete(scene[get(xml.scene)]); perhaps ?
Or use loadscene action on an empty scene name ? -
Hi,
the <scene> elements are krpano-array-elements.
Removing such array item is possibly either by setting the name of that item to null - then the item will remove itself from the array:
or by calling removearrayitem (a function mainly from the krpano plugin interface, but that is also available in the xml):
Best regards,
Klaus -
Excellent I forgot this.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!