generated from krampus/template-godot4
Continuous line drawing also paints circle to round out edges
This commit is contained in:
parent
22984897e2
commit
37b377fac0
@ -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)
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user