Remove 3 & 3.5 zoom levels.

This commit is contained in:
melieconiek 2022-01-10 18:36:08 -05:00
parent 8e6609cb39
commit cd8320b57b

View file

@ -764,10 +764,10 @@ void convertOldLevel2Tlv(const TFilePath &source, const TFilePath &dest,
//=============================================================================
#define ZOOMLEVELS 19
#define ZOOMLEVELS 17
#define NOZOOMINDEX 6
double ZoomFactors[ZOOMLEVELS] = {
0.015625, 0.03125, 0.0625, 0.125, 0.25, 0.375, 0.5, 0.625, 1, 1.5, 2, 2.5, 3, 3.5, 4, 8, 16, 32, 64};
0.015625, 0.03125, 0.0625, 0.125, 0.25, 0.375, 0.5, 0.625, 1, 1.5, 2, 2.5, 4, 8, 16, 32, 64};
double getQuantizedZoomFactor(double zf, bool forward) {
if (forward && (zf > ZoomFactors[ZOOMLEVELS - 1] ||