summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-01-03 14:17:05 +0100
committerGitHub <noreply@github.com>2020-01-03 14:17:05 +0100
commitfa82664419f644c410980a045839ccbc7f483c22 (patch)
treed6d3f34cb68c0ff56b9dea8989589d27067295f9 /scene
parentb300411740fec6a761fd238dedbeb1e367945126 (diff)
parent1591677eb8b8a08a8e9c1308b73171f59c24d2b8 (diff)
Merge pull request #34726 from nekomatata/polygon2d-antialiasing-fix
Fixed antialiasing option for Polygon2D with concave/hollow shapes
Diffstat (limited to 'scene')
-rw-r--r--scene/2d/line_2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/line_2d.cpp b/scene/2d/line_2d.cpp
index 7f25face15..4a022f0a9c 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