The mangle pixelization can decide to stop pixelizing if the number of polygons per pixel is less than a certain number. The current mangle code assumes that everything is pixelized to the highest resolution... and will fail if given a file with non-constant resolution.
At a minimum, we should introduce a test here that flags if we see pixels not at a specified resolution, but the code should handle this more gracefully as well.
The mangle pixelization can decide to stop pixelizing if the number of polygons per pixel is less than a certain number. The current mangle code assumes that everything is pixelized to the highest resolution... and will fail if given a file with non-constant resolution.
At a minimum, we should introduce a test here that flags if we see pixels not at a specified resolution, but the code should handle this more gracefully as well.