Continuous line drawing also paints circle to round out edges

This commit is contained in:
Rob Kelly 2025-03-02 12:04:54 -07:00
parent 22984897e2
commit 37b377fac0

View File

@ -120,6 +120,8 @@ func paint_continuous(point: Vector3, normal: Vector3, width: float) -> void:
)
else:
_polyline_buffer = [px]
# Always paint a circle, to round out corners & cap ends
mask_control.queue_draw(
func() -> void: mask_control.draw_circle(px, width, MASK_COLOR, true, -1, true)
)