parent
b23889eb41
commit
22419082d9
5 changed files with 1 additions and 30 deletions
|
@ -857,7 +857,6 @@ void _OS::print_all_textures_by_size() {
|
|||
|
||||
for(List<_OSCoreBindImg>::Element *E=imgs.front();E;E=E->next()) {
|
||||
|
||||
print_line(E->get().path+" - "+String::humanize_size(E->get().vram)+" ("+E->get().size+") - total:"+String::humanize_size(total) );
|
||||
total-=E->get().vram;
|
||||
}
|
||||
}
|
||||
|
@ -891,19 +890,6 @@ void _OS::print_resources_by_type(const Vector<String>& p_types) {
|
|||
|
||||
|
||||
type_count[r->get_type()]++;
|
||||
|
||||
print_line(r->get_type()+": "+r->get_path());
|
||||
|
||||
List<String> metas;
|
||||
r->get_meta_list(&metas);
|
||||
for (List<String>::Element* me = metas.front(); me; me = me->next()) {
|
||||
print_line(" "+String(me->get()) + ": " + r->get_meta(me->get()));
|
||||
};
|
||||
}
|
||||
|
||||
for(Map<String,int>::Element *E=type_count.front();E;E=E->next()) {
|
||||
|
||||
print_line(E->key()+" count: "+itos(E->get()));
|
||||
}
|
||||
|
||||
};
|
||||
|
|
|
@ -95,10 +95,9 @@ bool ResourceImportMetadata::has_option(const String& p_key) const {
|
|||
|
||||
return options.has(p_key);
|
||||
}
|
||||
|
||||
Variant ResourceImportMetadata::get_option(const String& p_key) const {
|
||||
|
||||
if (!options.has(p_key))
|
||||
print_line(p_key);
|
||||
ERR_FAIL_COND_V(!options.has(p_key),Variant());
|
||||
|
||||
return options[p_key];
|
||||
|
@ -487,8 +486,6 @@ void ResourceCache::dump(const char* p_file,bool p_short) {
|
|||
if (!p_short) {
|
||||
if (f)
|
||||
f->store_line(r->get_type()+": "+r->get_path());
|
||||
else
|
||||
print_line(r->get_type()+": "+r->get_path());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -496,8 +493,6 @@ void ResourceCache::dump(const char* p_file,bool p_short) {
|
|||
|
||||
if (f)
|
||||
f->store_line(E->key()+" count: "+itos(E->get()));
|
||||
else
|
||||
print_line(E->key()+" count: "+itos(E->get()));
|
||||
}
|
||||
if (f) {
|
||||
f->close();
|
||||
|
|
|
@ -357,7 +357,6 @@ Error OS_Unix::execute(const String& p_path, const List<String>& p_arguments,boo
|
|||
|
||||
pid_t pid = fork();
|
||||
ERR_FAIL_COND_V(pid<0,ERR_CANT_FORK);
|
||||
//print("execute: %s\n",p_path.utf8().get_data());
|
||||
|
||||
|
||||
if (pid==0) {
|
||||
|
@ -394,8 +393,6 @@ Error OS_Unix::execute(const String& p_path, const List<String>& p_arguments,boo
|
|||
pid_t rpid = waitpid(pid,&status,0);
|
||||
if (r_exitcode)
|
||||
*r_exitcode=WEXITSTATUS(status);
|
||||
|
||||
print("returned: %i, waiting for: %i\n",rpid,pid);
|
||||
} else {
|
||||
|
||||
if (r_child_id)
|
||||
|
@ -498,7 +495,6 @@ String OS_Unix::get_executable_path() const {
|
|||
char buf[256];
|
||||
memset(buf,0,256);
|
||||
readlink("/proc/self/exe", buf, sizeof(buf));
|
||||
//print_line("Exec path is:"+String(buf));
|
||||
String b;
|
||||
b.parse_utf8(buf);
|
||||
if (b=="") {
|
||||
|
|
|
@ -125,8 +125,6 @@ void Popup::set_as_minsize() {
|
|||
|
||||
}
|
||||
|
||||
print_line(String(c->get_type())+": "+minsize);
|
||||
|
||||
total_minsize.width = MAX( total_minsize.width, minsize.width );
|
||||
total_minsize.height = MAX( total_minsize.height, minsize.height );
|
||||
}
|
||||
|
@ -168,8 +166,6 @@ void Popup::popup_centered_minsize(const Size2& p_minsize) {
|
|||
|
||||
}
|
||||
|
||||
print_line(String(c->get_type())+": "+minsize);
|
||||
|
||||
total_minsize.width = MAX( total_minsize.width, minsize.width );
|
||||
total_minsize.height = MAX( total_minsize.height, minsize.height );
|
||||
}
|
||||
|
|
|
@ -147,8 +147,6 @@ void EditorImportTextureOptions::_changed() {
|
|||
|
||||
void EditorImportTextureOptions::_bind_methods() {
|
||||
|
||||
print_line("bind toptions");
|
||||
|
||||
ObjectTypeDB::bind_method("_changed",&EditorImportTextureOptions::_changed);
|
||||
ObjectTypeDB::bind_method("_changedp",&EditorImportTextureOptions::_changedp);
|
||||
|
||||
|
|
Loading…
Reference in a new issue