summaryrefslogtreecommitdiff
path: root/core/io/resource_loader.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-04-24 11:04:16 +0200
committerGitHub <noreply@github.com>2017-04-24 11:04:16 +0200
commitd7578792ca75571cedbf6f4cf98315ec3141e1b6 (patch)
tree3e35f189cac469fb81b7450827c3f7037d12792b /core/io/resource_loader.cpp
parent4c147008f33773bb385c6a67b1a7394ddbef6126 (diff)
parent515f92d03b6bb4e8a42d5b88d603c96c69d233a4 (diff)
Merge pull request #8496 from akien-mga/stdout-cleanup
Fix property warnings and hide some debug prints
Diffstat (limited to 'core/io/resource_loader.cpp')
-rw-r--r--core/io/resource_loader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/resource_loader.cpp b/core/io/resource_loader.cpp
index 3b43492bc5..234d71cb68 100644
--- a/core/io/resource_loader.cpp
+++ b/core/io/resource_loader.cpp
@@ -179,10 +179,10 @@ RES ResourceLoader::load(const String &p_path, const String &p_type_hint, bool p
print_line("load resource: " + local_path);
bool found = false;
+ // Try all loaders and pick the first match for the type hint
for (int i = 0; i < loader_count; i++) {
if (!loader[i]->recognize_path(local_path, p_type_hint)) {
- print_line("path not recognized");
continue;
}
found = true;