提交 5deb25e2 编写于 作者: M Mr.doob

Object3D: Pointer to children in updateMatrixWorld().

上级 ff5a0bdb
......@@ -543,9 +543,11 @@ Object.assign( Object3D.prototype, EventDispatcher.prototype, {
// update children
for ( var i = 0, l = this.children.length; i < l; i ++ ) {
var children = this.children;
for ( var i = 0, l = children.length; i < l; i ++ ) {
this.children[ i ].updateMatrixWorld( force );
children[ i ].updateMatrixWorld( force );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册