diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-10-17 10:30:08 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-10-17 10:30:08 -0300 |
commit | 63033aa646f7a49fbcecbc8cc30077cf268be10c (patch) | |
tree | 80ccf1aed83e6c4d3ed1db2e1d2c0258090f7339 /core/io/resource_loader.cpp | |
parent | ab22203791489df160c36a29a3cd8aa8b32bec04 (diff) | |
parent | 0d2b28377f1257af039c088f30c11aa0d12cc695 (diff) |
Merge branch 'master' of https://github.com/okamstudio/godot
Diffstat (limited to 'core/io/resource_loader.cpp')
-rw-r--r-- | core/io/resource_loader.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/io/resource_loader.cpp b/core/io/resource_loader.cpp index 1e014480f4..3862790b02 100644 --- a/core/io/resource_loader.cpp +++ b/core/io/resource_loader.cpp @@ -231,14 +231,12 @@ Ref<ResourceImportMetadata> ResourceLoader::load_import_metadata(const String &p local_path = Globals::get_singleton()->localize_path(p_path); String extension=p_path.extension(); - bool found=false; Ref<ResourceImportMetadata> ret; for (int i=0;i<loader_count;i++) { if (!loader[i]->recognize(extension)) continue; - found=true; Error err = loader[i]->load_import_metadata(local_path,ret); if (err==OK) |