Fix addObject() by renaming to addChild() #84
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix-add-object"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
addObject() wasn't working because Container has add methods for all object types, of which Object is one of them. This overrides the other addObject(), which funnily enough also depends on the original addObject().
It makes sense to rename addObject() to addChild(), as well as all other child-related functions, to avoid confusion.