mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Cleanup unnecessary debug prints
This commit is contained in:
parent
393daf0502
commit
6361e24f29
17 changed files with 14 additions and 172 deletions
|
@ -282,7 +282,6 @@ Error ResourceInteractiveLoaderBinary::parse_variant(Variant &r_v) {
|
|||
property = _get_string();
|
||||
|
||||
NodePath np = NodePath(names, subnames, absolute, property);
|
||||
//print_line("got path: "+String(np));
|
||||
|
||||
r_v = np;
|
||||
|
||||
|
@ -640,7 +639,6 @@ Error ResourceInteractiveLoaderBinary::poll() {
|
|||
|
||||
String path = external_resources[s].path;
|
||||
|
||||
print_line("load external res: " + path);
|
||||
if (remaps.has(path)) {
|
||||
path = remaps[path];
|
||||
}
|
||||
|
@ -706,8 +704,6 @@ Error ResourceInteractiveLoaderBinary::poll() {
|
|||
|
||||
String t = get_unicode_string();
|
||||
|
||||
// print_line("loading resource of type "+t+" path is "+path);
|
||||
|
||||
Object *obj = ClassDB::instance(t);
|
||||
if (!obj) {
|
||||
error = ERR_FILE_CORRUPT;
|
||||
|
@ -907,20 +903,6 @@ void ResourceInteractiveLoaderBinary::open(FileAccess *p_f) {
|
|||
external_resources.push_back(er);
|
||||
}
|
||||
|
||||
//see if the exporter has different set of external resources for more efficient loading
|
||||
/*
|
||||
String preload_depts = "deps/"+res_path.md5_text();
|
||||
if (Globals::get_singleton()->has(preload_depts)) {
|
||||
external_resources.clear();
|
||||
//ignore external resources and use these
|
||||
NodePath depts=Globals::get_singleton()->get(preload_depts);
|
||||
external_resources.resize(depts.get_name_count());
|
||||
for(int i=0;i<depts.get_name_count();i++) {
|
||||
external_resources[i].path=depts.get_name(i);
|
||||
}
|
||||
print_line(res_path+" - EXTERNAL RESOURCES: "+itos(external_resources.size()));
|
||||
}*/
|
||||
|
||||
print_bl("ext resources: " + itos(ext_resources_size));
|
||||
uint32_t int_resources_size = f->get_32();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue