David Catuhe 6 gadi atpakaļ
vecāks
revīzija
c787a469c2
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;