Explorar el Código

multisample camera update fix

David Sehnal hace 4 años
padre
commit
013ddb72ed
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  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