Merge pull request #34726 from nekomatata/polygon2d-antialiasing-fix

Fixed antialiasing option for Polygon2D with concave/hollow shapes
This commit is contained in:
Rémi Verschelde 2020-01-03 14:17:05 +01:00 committed by GitHub
commit fa82664419
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 31 additions and 9 deletions

View file

@ -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