diff options
| author | Juan Linietsky <reduzio@gmail.com> | 2019-06-24 22:24:07 -0300 |
|---|---|---|
| committer | Juan Linietsky <reduzio@gmail.com> | 2020-02-11 11:53:28 +0100 |
| commit | e1b3444415054c21b274546876642af7292c0937 (patch) | |
| tree | 88266bd6c646c70366f2b7796e681d7b64655527 /scene/gui/graph_edit.cpp | |
| parent | 1b4281b895f3046ea972256182b18696a25f8316 (diff) | |
| download | redot-engine-e1b3444415054c21b274546876642af7292c0937.tar.gz | |
Bugfixes and ability to better specify filter and repeat modes everywhere.
Removes antialiased flag for draw_* methods.
Diffstat (limited to 'scene/gui/graph_edit.cpp')
| -rw-r--r-- | scene/gui/graph_edit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/graph_edit.cpp b/scene/gui/graph_edit.cpp index 02445000df..c6a5e21ff8 100644 --- a/scene/gui/graph_edit.cpp +++ b/scene/gui/graph_edit.cpp @@ -689,9 +689,9 @@ void GraphEdit::_draw_cos_line(CanvasItem *p_where, const Vector2 &p_from, const colors.push_back(p_to_color); #ifdef TOOLS_ENABLED - p_where->draw_polyline_colors(points, colors, Math::floor(2 * EDSCALE), true); + p_where->draw_polyline_colors(points, colors, Math::floor(2 * EDSCALE)); #else - p_where->draw_polyline_colors(points, colors, 2, true); + p_where->draw_polyline_colors(points, colors, 2); #endif } |
