Explorar o código

Add a comment

Pan Xinmiao %!s(int64=7) %!d(string=hai) anos
pai
achega
710a530680
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      examples/js/animation/MMDAnimationHelper.js

+ 1 - 0
examples/js/animation/MMDAnimationHelper.js

@@ -946,6 +946,7 @@ THREE.MMDAnimationHelper = ( function () {
 
 			if ( this.currentTime < this.delayTime ) return false;
 			
+			// 'duration' can be bigger than 'audioDuration + delayTime' because of sync configuration
 			if ( ( this.currentTime - this.delayTime ) > this.audioDuration ) return false;
 
 			this.audio.startTime = this.currentTime - this.delayTime;