Trevor Baron пре 6 година
родитељ
комит
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;
 
             // 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;
             }