jasonbcox / rocket

ROCKET Engine
Other
1 stars 0 forks source link

Scene::addObject incorrectly assumes the parent is already a member of the scene #1

Closed jasonbcox closed 11 years ago

jasonbcox commented 11 years ago

When parent is not NULL, it is automatically assumed to be a member of the scene. Include a check, and add the parent to the scene if necessary.