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