Merge pull request #12072 from ComancheAk/fix-alpha-border-bugfix
Fix Alpha Border bugfix
This commit is contained in:
commit
e8f8359b2e
|
@ -2474,6 +2474,7 @@ void Image::fix_alpha_edges() {
|
||||||
if (rp[3] < alpha_threshold)
|
if (rp[3] < alpha_threshold)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
closest_dist = dist;
|
||||||
closest_color[0] = rp[0];
|
closest_color[0] = rp[0];
|
||||||
closest_color[1] = rp[1];
|
closest_color[1] = rp[1];
|
||||||
closest_color[2] = rp[2];
|
closest_color[2] = rp[2];
|
||||||
|
|
Loading…
Reference in New Issue