David Catuhe 6 yıl önce
ebeveyn
işleme
c787a469c2
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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;