pixi.js / src /
@photonstorm photonstorm authored on 22 Dec 2013
..
pixi Previously addChild was checking this: `if(child.parent != undefined)` but testing just for 'undefined' isn't enough, as the parent is set to 'null' in DisplayObject.js, so this condition fails and throws an error as it tries to removeChild from null. 11 years ago