瀏覽代碼

Merge branch 'blending-take2' of https://github.com/insominx/three.js into dev

Mr.doob 11 年之前
父節點
當前提交
a44a02df71
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      src/extras/animation/Animation.js

+ 2 - 3
src/extras/animation/Animation.js

@@ -32,11 +32,10 @@ THREE.Animation.prototype.play = function ( startTime, weight ) {
 	this.weight = weight !== undefined ? weight: 1;
 
 	this.isPlaying = true;
-	this.reset();
-	this.update( 0 );
-
 	this.isPaused = false;
 
+	this.reset();
+
 	THREE.AnimationHandler.addToUpdate( this );
 
 };