PaletteOptimiser

Changeset

44:585c1552a7f6
2015-10-04 Paul Boddie raw files shortlog changelog graph Fixed the limiting of colour exchange.
optimiser.py (file)
     1.1 --- a/optimiser.py	Sun Oct 04 19:23:16 2015 +0200
     1.2 +++ b/optimiser.py	Sun Oct 04 19:31:37 2015 +0200
     1.3 @@ -198,7 +198,7 @@
     1.4                  n, value = c[i]
     1.5                  if n < 0.1:
     1.6                      switched.append(c[i])
     1.7 -                del c[i]
     1.8 +                    del c[i]
     1.9              c += switched
    1.10              most = [value for n, value in c[:4]]
    1.11              least = [value for n, value in c[4:]]