Trevor Baron 6 lat temu
rodzic
commit
015a868cae
1 zmienionych plików z 1 dodań i 1 usunięć
  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;
             }