@@ -356,8 +356,8 @@ Object.assign( Object3D.prototype, EventDispatcher.prototype, {
}
- return;
-
+ return this;
+
var index = this.children.indexOf( object );
@@ -372,6 +372,8 @@ Object.assign( Object3D.prototype, EventDispatcher.prototype, {
},
getObjectById: function ( id ) {