Questions about a scene going live

So if a universe is setup with at least one local, one branch group, one view platform, a view and respective associated classes plus to that view is added a canvas3d already placed and visible in the awt tree the scene goes live.

My questions are:

If the canvas3d is set invisible or it is removed from the awt tree will the scene go to live to non-live state ?

If that happens can we modify the scene again (nothing to do with the permissions) then afterwards can we make the scene go live again ?

If we compile a branch group then add it to a live scene, the afterwards remove it from the live scene can we modify it and compile it again ?

The last question is related to my doubt if a compiled branch group still preserves the original data after being compiled. That is if compilation only creates an extra optimized scene and doesn’t destroy the old one.

from java tut:
Inserting a branch graph into a Locale makes it live, and consequently, each of the objects in that branch
graph become live. There are some consequences when an object becomes live. Live objects are subject to
being rendered. Also, the parameters of live objects cannot be modified unless the corresponding capability
has been specifically set before the object became live.

From the definition above, it seems that beeing live has nothing to do with visibility. It’s live when it’s added to the universe. Therefore, the answer should be ‘no’.

again, ‘no’, but without warranty! :wink:

Here again, i would say ‘no’, but without warranty either! :wink:

Conclusion:
set the right capability bits a start, this will avoid a lot of problems and make it easier.
And to have a 100% sure answer for the question above, you could test it with isLive() and isCompiled()!

cheers