mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Fix example code for EditorImportPlugin
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user