diff options
author | Gilles Roudiere <gilles.roudiere@gmail.com> | 2017-10-14 10:11:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-14 10:11:39 +0200 |
commit | e8f8359b2edd583480218b7348cdbe43e959a16e (patch) | |
tree | 066ffa55204a9bec70a3143a95a32fa7481ebe66 /core | |
parent | 0362a156b0ed808dac990d8bfd3653bb7ff71d1e (diff) | |
parent | 51597b6d69dfc50112c24fca7235f43d24d23550 (diff) |
Merge pull request #12072 from ComancheAk/fix-alpha-border-bugfix
Fix Alpha Border bugfix
Diffstat (limited to 'core')
-rw-r--r-- | core/image.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/image.cpp b/core/image.cpp index c7f21d5599..943cbaf51d 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]; |