MCPcopy Create free account
hub / github.com/GDRETools/gdsdecomp / _get_dependencies

Method _get_dependencies

compat/resource_loader_compat.cpp:572–582  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

570}
571
572Vector<String> ResourceCompatLoader::_get_dependencies(const String &p_path, bool p_add_types) {
573 auto loader = get_loader_for_path(p_path, "");
574 ERR_FAIL_COND_V_MSG(loader.is_null(), Vector<String>(), "Failed to load resource '" + p_path + "'. ResourceFormatLoader::load was not implemented for this resource type.");
575 List<String> dependencies;
576 loader->get_dependencies(p_path, &dependencies, p_add_types);
577 Vector<String> deps;
578 for (List<String>::Element *E = dependencies.front(); E; E = E->next()) {
579 deps.push_back(E->get());
580 }
581 return deps;
582}
583
584bool ResourceCompatLoader::is_default_gltf_load() {
585 return doing_gltf_load;

Callers

nothing calls this directly

Calls 5

frontMethod · 0.80
nextMethod · 0.80
push_backMethod · 0.80
get_dependenciesMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected