Skip to content

Commit

Permalink
Fix Alpha Border bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ComancheAk committed Oct 13, 2017
1 parent e97ada6 commit 51597b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 51597b6

Please sign in to comment.