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,9 +120,11 @@ func paint_continuous(point: Vector3, normal: Vector3, width: float) -> void:
) )
else: else:
_polyline_buffer = [px] _polyline_buffer = [px]
mask_control.queue_draw(
func() -> void: mask_control.draw_circle(px, width, MASK_COLOR, true, -1, true) # 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)
)
_continued_paint_this_frame = true _continued_paint_this_frame = true