Skip to content

Commit

Permalink
Fix typo in EditorPlugin _forward_3d_draw_over_viewport(overlay) me…
Browse files Browse the repository at this point in the history
…thod example

Too few arguments for "draw_circle()" call. Expected at least 3 but received 2.
  • Loading branch information
erictuvesson committed Jul 31, 2024
1 parent b6dee96 commit f810d18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/classes/EditorPlugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
[gdscript]
func _forward_3d_draw_over_viewport(overlay):
# 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):
if event is InputEventMouseMotion:
Expand Down

0 comments on commit f810d18

Please sign in to comment.