From f810d18f09bb86c6c67d8a9fd5488d48d0ae1b2e Mon Sep 17 00:00:00 2001 From: Eric Tuvesson Date: Thu, 1 Aug 2024 00:10:16 +0200 Subject: [PATCH] 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. --- doc/classes/EditorPlugin.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/EditorPlugin.xml b/doc/classes/EditorPlugin.xml index c3ea440aea9..9c1a6f6af61 100644 --- a/doc/classes/EditorPlugin.xml +++ b/doc/classes/EditorPlugin.xml @@ -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: