Disable antialiasing for CanvasItem triangle arrays

Fixes #10461 and supersedes #10645 as suggested by @bruvzg.
This commit is contained in:
Rémi Verschelde 2017-08-28 23:37:42 +02:00
parent 456bee46de
commit 9450179ff0

View file

@ -698,6 +698,7 @@ void VisualServerCanvas::canvas_item_add_triangle_array(RID p_item, const Vector
polygon->colors = p_colors;
polygon->indices = indices;
polygon->count = count;
polygon->antialiased = false;
canvas_item->rect_dirty = true;
canvas_item->commands.push_back(polygon);