2
0
Эх сурвалжийг харах

Start WebVRManager animation when setting the animation callback

Diego Marcos 6 жил өмнө
parent
commit
0d1af0b463

+ 2 - 0
src/renderers/webvr/WebVRManager.js

@@ -379,6 +379,8 @@ function WebVRManager( renderer ) {
 
 		animation.setAnimationLoop( callback );
 
+		if ( isPresenting() ) { animation.start(); }
+
 	};
 
 	this.submitFrame = function () {