Is there builtin listener to notified on Panel detached from scene graph in Lemur ?
I have a ViewPortPanel which extends Lemur Panel. I want to detect when panel attached/detached to create/clean up viewport. As you know when a spatial detached all controls on it stop being updated so there won’t be a way to detect it internally.
At the moment my ViewPortPanel uses a control added to root node to detect on attach/detach. I am curious if there is a better way ?
Is there a builtin mechanism for this in Lemur ?