From eced241cedaf936029b88c447038571d8aadccdd Mon Sep 17 00:00:00 2001 From: Max Hilbrunner Date: Sat, 11 Nov 2023 03:06:03 +0100 Subject: [PATCH] Merge pull request #7994 from Helmasko/patch-2 Custom drawing in 2D update gdscript --- tutorials/2d/custom_drawing_in_2d.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tutorials/2d/custom_drawing_in_2d.rst b/tutorials/2d/custom_drawing_in_2d.rst index ca073d185..c13817ded 100644 --- a/tutorials/2d/custom_drawing_in_2d.rst +++ b/tutorials/2d/custom_drawing_in_2d.rst @@ -69,7 +69,8 @@ redrawn if modified: extends Node2D - export (Texture) var texture setget _set_texture + @export var texture: Texture: + set = _set_texture func _set_texture(value): # If the texture variable is modified externally,