Trevor Baron 6 tahun lalu
induk
melakukan
015a868cae
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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;
             }
             }