Trevor Baron 6 лет назад
Родитель
Сommit
015a868cae
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/scene.ts

+ 1 - 1
src/scene.ts

@@ -3524,7 +3524,7 @@ export class Scene extends AbstractScene implements IAnimatable {
             this._intermediateRendering = false;
             this._intermediateRendering = false;
 
 
             // Need to bind if sub-camera has an outputRenderTarget eg. for webXR
             // Need to bind if sub-camera has an outputRenderTarget eg. for webXR
-            if(this.activeCamera && this.activeCamera.outputRenderTarget){
+            if (this.activeCamera && this.activeCamera.outputRenderTarget) {
                 needRebind = true;
                 needRebind = true;
             }
             }