未验证 提交 a8c7bafa 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #13009 from gero3/patch-9

Make sure variable isn't redeclared every new object
......@@ -95,14 +95,15 @@ Object.assign( AnimationObjectGroup.prototype, {
paths = this._paths,
parsedPaths = this._parsedPaths,
bindings = this._bindings,
nBindings = bindings.length;
nBindings = bindings.length,
knownObject = undefined;;
for ( var i = 0, n = arguments.length; i !== n; ++ i ) {
var object = arguments[ i ],
uuid = object.uuid,
index = indicesByUUID[ uuid ],
knownObject = undefined;
index = indicesByUUID[ uuid ];
if ( index === undefined ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册