|
@@ -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;
|
|
|
}
|
|
}
|
|
|
|
|
|