diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2020-01-01 11:39:07 +0100 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2020-01-01 11:40:14 +0100 |
commit | 1591677eb8b8a08a8e9c1308b73171f59c24d2b8 (patch) | |
tree | 28ddf56bc7c8b1bda484d7de1d27b08959138744 /scene | |
parent | 406dac1917eaa002fe27128c161ae681f59a556d (diff) |
Fixed antialiasing option for Polygon2D
Some cases were not handled properly for Polygon2D after making changes in common code to fix Line2D antialiasing. Added an option for drawing polygons to differentiate the two use cases.
Fixes #34568
Diffstat (limited to 'scene')
-rw-r--r-- | scene/2d/line_2d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/line_2d.cpp b/scene/2d/line_2d.cpp index af3ed671aa..a7057624be 100644 --- a/scene/2d/line_2d.cpp +++ b/scene/2d/line_2d.cpp @@ -316,7 +316,7 @@ void Line2D::_draw() { lb.colors, lb.uvs, Vector<int>(), Vector<float>(), texture_rid, -1, RID(), - _antialiased); + _antialiased, true); // DEBUG // Draw wireframe |