David Catuhe před 6 roky
rodič
revize
c787a469c2
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/scene.ts

+ 1 - 1
src/scene.ts

@@ -3480,7 +3480,7 @@ export class Scene extends AbstractScene implements IAnimatable {
             }
 
             for (let step of this._cameraDrawRenderTargetStage) {
-                needRebind = needRebind || step.action(this.activeCamera);
+                needRebind = step.action(this.activeCamera) || needRebind;
             }
 
             this._intermediateRendering = false;