Skip to content

Fixed antialiased option for Polygon2D

Created by: pouleyKetchoupp

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

I've just added an argument to canvas_item_add_triangle_array() to enable antialiasing (still disabled by default), everything is already working fine with GLES3 on the render side.

Also had to change ClassDB::bind_method to support 7 default values.

Fixes #26823 (closed)

Merge request reports

Loading