Fix typo in EditorPlugin _forward_3d_draw_over_viewport(overlay) method example

Too few arguments for "draw_circle()" call. Expected at least 3 but received 2.
This commit is contained in:
Eric Tuvesson 2024-08-01 00:10:16 +02:00
parent b6dee96f68
commit f810d18f09

View file

@ -60,7 +60,7 @@
[gdscript] [gdscript]
func _forward_3d_draw_over_viewport(overlay): func _forward_3d_draw_over_viewport(overlay):
# Draw a circle at cursor position. # Draw a circle at cursor position.
overlay.draw_circle(overlay.get_local_mouse_position(), 64) overlay.draw_circle(overlay.get_local_mouse_position(), 64, Color.WHITE)
func _forward_3d_gui_input(camera, event): func _forward_3d_gui_input(camera, event):
if event is InputEventMouseMotion: if event is InputEventMouseMotion: