Merge pull request #12378 from volzhs/fix-examplecode-editorimportplugin
Fix example code for EditorImportPlugin [ci skip]
This commit is contained in:
commit
b44fb58c90
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue