From a56bfcad1fef5eb8dd486cf1ced789690880ba9e Mon Sep 17 00:00:00 2001 From: VardenTheOne <57115583+VardenTheOne@users.noreply.github.com> Date: Thu, 30 Apr 2020 18:32:10 +0300 Subject: [PATCH] Fix method name --- tutorials/plugins/editor/spatial_gizmos.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tutorials/plugins/editor/spatial_gizmos.rst b/tutorials/plugins/editor/spatial_gizmos.rst index f94828175..00b245dc0 100644 --- a/tutorials/plugins/editor/spatial_gizmos.rst +++ b/tutorials/plugins/editor/spatial_gizmos.rst @@ -82,7 +82,7 @@ or all the handle related ones. func _init(): create_material("main", Color(1, 0, 0)) - create_handles_material("handles") + create_handle_material("handles") func redraw(gizmo): gizmo.clear() @@ -119,7 +119,7 @@ So the final plugin would look somewhat like this: func _init(): create_material("main", Color(1,0,0)) - create_handles_material("handles") + create_handle_material("handles") func has_gizmo(spatial): return spatial is MyCustomSpatial @@ -170,7 +170,7 @@ for the Spatial nodes we want to target. func _init(): create_material("main", Color(1, 0, 0)) - create_handles_material("handles") + create_handle_material("handles") func create_gizmo(spatial): if spatial is MyCustomSpatial: