addListenersToSpatial active after removing Spatial?

I’ve used the lemur method

   public static void addListenersToSpatial(Spatial s, MouseListener[] listeners) {

Where s is a culled Spatial that receives events.

Then I did

s.removeFromParent();

But the listener is still notified when I do actions over it… I thought that removing the spatial would make it impossible to the MouseEventControl to dispatch events… is this the expected behavior?

Ugh… never mind. I was reattaching the spatial somewhere else :frowning:

1 Like