mirror of https://github.com/godotengine/godot
Fix Alpha Border bugfix
This commit is contained in:
parent
e97ada6413
commit
51597b6d69
|
|
@ -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