summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvolzhs <volzhs@gmail.com>2017-10-25 01:12:43 +0900
committervolzhs <volzhs@gmail.com>2017-10-25 01:12:43 +0900
commitd15af2c2904ce244630c0d8c022723a463210ba2 (patch)
tree3a2df52f3b3bf35aee9f03ea8ed7ddc1da75f491
parent43967121378c796f3780c64af4f2da07cf85c54c (diff)
Fix example code for EditorImportPlugin
-rw-r--r--doc/classes/EditorImportPlugin.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/EditorImportPlugin.xml b/doc/classes/EditorImportPlugin.xml
index da8f0f235b..c276a8f661 100644
--- a/doc/classes/EditorImportPlugin.xml
+++ b/doc/classes/EditorImportPlugin.xml
@@ -39,8 +39,8 @@
return [{"name": "my_option", "default_value": false}]
func load(src, dst, opts, r_platform_variants, r_gen_files):
- var f = File.new()
- if f.open(src, File.READ) != OK:
+ var file = File.new()
+ if file.open(src, File.READ) != OK:
return FAILED
var mesh = Mesh.new()