Forráskód Böngészése

multisample camera update fix

David Sehnal 4 éve
szülő
commit
013ddb72ed
1 módosított fájl, 1 hozzáadás és 2 törlés
  1. 1 2
      src/mol-canvas3d/passes/multi-sample.ts

+ 1 - 2
src/mol-canvas3d/passes/multi-sample.ts

@@ -133,8 +133,7 @@ export class MultiSamplePass {
         for (let i = 0; i < offsetList.length; ++i) {
             const offset = offsetList[i];
             Camera.setViewOffset(camera.viewOffset, width, height, offset[0], offset[1], width, height);
-            // TODO: this should not be needed
-            // camera.update();
+            camera.update();
             this.drawPass.cameraHelper.update(camera);
 
             // the theory is that equal weights for each sample lead to an accumulation of rounding