Fix example code for EditorImportPlugin
This commit is contained in:
parent
4396712137
commit
d15af2c290
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