From d15af2c2904ce244630c0d8c022723a463210ba2 Mon Sep 17 00:00:00 2001 From: volzhs Date: Wed, 25 Oct 2017 01:12:43 +0900 Subject: Fix example code for EditorImportPlugin --- doc/classes/EditorImportPlugin.xml | 4 ++-- 1 file 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() -- cgit v1.2.3