提交 ac94b24b 编写于 作者: K Kevin

Removed MatrixAutoUpdate From Aniamtion

Removed the lines forcing MatrixAutoApdate and MatrixWorldNeedsUpdate to true from Animations update and reset. Per Issue #5704
上级 d4f73ae8
......@@ -53,8 +53,6 @@ THREE.Animation.prototype.reset = function () {
var object = this.hierarchy[ h ];
object.matrixAutoUpdate = true;
if ( object.animationCache === undefined ) {
object.animationCache = {
......@@ -237,9 +235,6 @@ THREE.Animation.prototype.update = (function(){
}
object.matrixAutoUpdate = true;
object.matrixWorldNeedsUpdate = true;
var scale = ( this.currentTime - prevKey.time ) / ( nextKey.time - prevKey.time );
var prevXYZ = prevKey[ type ];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册