perandersson / playstate

PlayState
2 stars 0 forks source link

Detach and Attach components when a node is added and removed from a scene group #10

Closed perandersson closed 11 years ago

perandersson commented 11 years ago

When a node is removed from a scene group, the components are still attached to their corresponding processors.

perandersson commented 11 years ago

Fixed. Components are not maked as "attached" until the node is attached to a scene node (i.e. the OnComponentAdded method is called). Same happens when a node is being removed from a group - the scene nodes components are detached as well.