summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-10-24 18:57:32 +0200
committerGitHub <noreply@github.com>2017-10-24 18:57:32 +0200
commitb44fb58c90e4c0f55da7b3b3292a7891d053e339 (patch)
treeada012d3a06a3232df3e88ec7504cc8e85d2a23b /doc
parentf74f27a66f997458f858be0a2d93b3938f105282 (diff)
parentd15af2c2904ce244630c0d8c022723a463210ba2 (diff)
Merge pull request #12378 from volzhs/fix-examplecode-editorimportplugin
Fix example code for EditorImportPlugin [ci skip]
Diffstat (limited to 'doc')
-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()