1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-04 19:21:46 +00:00

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

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