Fix addObject() by renaming to addChild() #84

Merged
thesabinelim merged 3 commits from fix-add-object into master 2023-05-18 00:53:55 +08:00
thesabinelim commented 2023-05-18 00:28:58 +08:00 (Migrated from github.com)

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.

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.
Sign in to join this conversation.
No description provided.