Explorar o código

WebGLAnimation: Clean up.

Mugen87 %!s(int64=5) %!d(string=hai) anos
pai
achega
4f2b2aca23
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  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 );