Fix example code for EditorImportPlugin

This commit is contained in:
volzhs 2017-10-25 01:12:43 +09:00
parent 4396712137
commit d15af2c290

View file

@ -39,8 +39,8 @@
return [{"name": "my_option", "default_value": false}] return [{"name": "my_option", "default_value": false}]
func load(src, dst, opts, r_platform_variants, r_gen_files): func load(src, dst, opts, r_platform_variants, r_gen_files):
var f = File.new() var file = File.new()
if f.open(src, File.READ) != OK: if file.open(src, File.READ) != OK:
return FAILED return FAILED
var mesh = Mesh.new() var mesh = Mesh.new()