From 9450179ff0faf39cc0360bc84d4e44f93d53c014 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Mon, 28 Aug 2017 23:37:42 +0200 Subject: Disable antialiasing for CanvasItem triangle arrays Fixes #10461 and supersedes #10645 as suggested by @bruvzg. --- servers/visual/visual_server_canvas.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'servers') diff --git a/servers/visual/visual_server_canvas.cpp b/servers/visual/visual_server_canvas.cpp index 37f7b2b523..25724981eb 100644 --- a/servers/visual/visual_server_canvas.cpp +++ b/servers/visual/visual_server_canvas.cpp @@ -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); -- cgit v1.2.3