From 51597b6d69dfc50112c24fca7235f43d24d23550 Mon Sep 17 00:00:00 2001 From: Comanche_Ak Date: Fri, 13 Oct 2017 16:03:05 +0300 Subject: [PATCH] Fix Alpha Border bugfix --- core/image.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/core/image.cpp b/core/image.cpp index c7f21d55991..943cbaf51d4 100644 --- a/core/image.cpp +++ b/core/image.cpp @@ -2474,6 +2474,7 @@ void Image::fix_alpha_edges() { if (rp[3] < alpha_threshold) continue; + closest_dist = dist; closest_color[0] = rp[0]; closest_color[1] = rp[1]; closest_color[2] = rp[2];