未验证 提交 61503c4e 编写于 作者: M Michael Turkeev 提交者: GitHub

do not parse the same single material twice

上级 44d9c06f
......@@ -491,7 +491,7 @@ Object.assign( ObjectLoader.prototype, {
} else {
materials[ data.uuid ] = loader.parse( data );
cache[ data.uuid ] = loader.parse( data );
cache[ data.uuid ] = materials[ data.uuid ];
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册