Browse Source

adding export makes the example clearer

Juan Linietsky 9 years ago
parent
commit
b955459479
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tutorials/2d/custom_drawing_in_2d.rst

+ 1 - 1
tutorials/2d/custom_drawing_in_2d.rst

@@ -68,7 +68,7 @@ redrawn if modified:
 
 
     extends Node2D
     extends Node2D
 
 
-    var texture setget _set_texture
+    export var texture setget _set_texture
 
 
     func _set_texture(value):
     func _set_texture(value):
         #if the texture variable is modified externally,
         #if the texture variable is modified externally,