Merge pull request #12072 from ComancheAk/fix-alpha-border-bugfix

Fix Alpha Border bugfix
This commit is contained in:
Gilles Roudiere 2017-10-14 10:11:39 +02:00 committed by GitHub
commit e8f8359b2e
1 changed files with 1 additions and 0 deletions

View File

@ -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];