From fa84fffa94a5945cf7c3056e76bda5ba4b431199 Mon Sep 17 00:00:00 2001 From: Revar Desmera Date: Sat, 15 Feb 2020 16:53:29 -0800 Subject: [PATCH] Tighten down requirements for image compare in docs generation. --- scripts/docs_gen.py | 2 +- version.scad | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/docs_gen.py b/scripts/docs_gen.py index 8ac0c3d..fe9a61a 100755 --- a/scripts/docs_gen.py +++ b/scripts/docs_gen.py @@ -95,7 +95,7 @@ def image_compare(file1, file2): sq = (value * (i % 256) ** 2 for i, value in enumerate(diff)) sum_squares = sum(sq) rms = math.sqrt(sum_squares / float(img1.size[0] * img1.size[1])) - return rms<100 + return rms<10 def image_resize(infile, outfile, newsize=(320,240)): diff --git a/version.scad b/version.scad index 4dd32bb..97b2fa2 100644 --- a/version.scad +++ b/version.scad @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,128]; +BOSL_VERSION = [2,0,129]; // Section: BOSL Library Version Functions