浏览代码

WebGLAnimation: Clean up.

Mugen87 5 年之前
父节点
当前提交
4f2b2aca23
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      src/renderers/webgl/WebGLAnimation.js

+ 0 - 2
src/renderers/webgl/WebGLAnimation.js

@@ -11,8 +11,6 @@ function WebGLAnimation() {
 
 	function onAnimationFrame( time, frame ) {
 
-		if ( isAnimating === false ) return;
-
 		animationLoop( time, frame );
 
 		requestId = context.requestAnimationFrame( onAnimationFrame );