未验证 提交 c604b7a8 编写于 作者: F Firepal 提交者: GitHub

formatting edit

上级 263f12d4
/**
Always make your contributions for the latest dev branch, not master./**
* @author mrdoob / http://mrdoob.com/
*/
......@@ -169,10 +169,12 @@ function WebXRManager( renderer, gl ) {
this.setFramebufferScaleFactor = function ( value ) {
framebufferScaleFactor = value;
// Warn if function is used while presenting
if(scope.isPresenting == true){
console.warn("WebXRManager: Cannot change framebuffer scale while presenting VR content");
if ( scope.isPresenting == true ) {
console.warn( "WebXRManager: Cannot change framebuffer scale while presenting VR content" );
}
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册