Fixed antialiased option for Polygon2D / Line2D

Polygon2D:
The property wasn't used anymore after switching from canvas_item_add_polygon() to canvas_item_add_triangle_array() for drawing.

Line2D:
Added the same property as for Polygon2D & fixed smooth line drawing to use indices correctly.

Fixes #26823
This commit is contained in:
PouleyKetchoupp
2019-11-24 11:00:02 +01:00
parent 636bc5c32f
commit e6ebc43d72
16 changed files with 176 additions and 13 deletions

View File

@@ -411,6 +411,8 @@
</argument>
<argument index="9" name="normal_map" type="RID">
</argument>
<argument index="10" name="antialiased" type="bool" default="false">
</argument>
<description>
</description>
</method>