提交 1548395d 编写于 作者: B brunnerh

Fixed inconsistent isAnimating state.

上级 25ecf071
......@@ -531,6 +531,7 @@ function WebGLRenderer( parameters ) {
vr.dispose();
isAnimating = false;
};
// Events
......@@ -1068,8 +1069,13 @@ function WebGLRenderer( parameters ) {
function loop( time ) {
if ( isAnimating === false || onAnimationFrame === null )
{
isAnimating = false;
return;
}
if ( onAnimationFrame !== null ) onAnimationFrame( time );
var device = vr.getDevice();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册