David Catuhe 6 rokov pred
rodič
commit
c787a469c2
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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;