Disable antialiasing for CanvasItem triangle arrays
Fixes #10461 and supersedes #10645 as suggested by @bruvzg.
This commit is contained in:
parent
456bee46de
commit
9450179ff0
1 changed files with 1 additions and 0 deletions
|
@ -698,6 +698,7 @@ void VisualServerCanvas::canvas_item_add_triangle_array(RID p_item, const Vector
|
||||||
polygon->colors = p_colors;
|
polygon->colors = p_colors;
|
||||||
polygon->indices = indices;
|
polygon->indices = indices;
|
||||||
polygon->count = count;
|
polygon->count = count;
|
||||||
|
polygon->antialiased = false;
|
||||||
canvas_item->rect_dirty = true;
|
canvas_item->rect_dirty = true;
|
||||||
|
|
||||||
canvas_item->commands.push_back(polygon);
|
canvas_item->commands.push_back(polygon);
|
||||||
|
|
Loading…
Reference in a new issue