removed some prints

This commit is contained in:
reduz 2015-12-29 12:56:58 -03:00
parent 974e5362bc
commit 77b5b4f4df
2 changed files with 6 additions and 6 deletions

View file

@ -410,15 +410,15 @@ bool PHashTranslation::_set(const StringName& p_name, const Variant& p_value) {
String name = p_name.operator String(); String name = p_name.operator String();
if (name=="hash_table") { if (name=="hash_table") {
hash_table=p_value; hash_table=p_value;
print_line("translation: loaded hash table of size: "+itos(hash_table.size())); //print_line("translation: loaded hash table of size: "+itos(hash_table.size()));
} else if (name=="bucket_table") { } else if (name=="bucket_table") {
bucket_table=p_value; bucket_table=p_value;
print_line("translation: loaded bucket table of size: "+itos(bucket_table.size())); //print_line("translation: loaded bucket table of size: "+itos(bucket_table.size()));
} else if (name=="strings") { } else if (name=="strings") {
strings=p_value; strings=p_value;
print_line("translation: loaded string table of size: "+itos(strings.size())); //print_line("translation: loaded string table of size: "+itos(strings.size()));
} else if (name=="load_from") { } else if (name=="load_from") {
print_line("generating"); //print_line("generating");
generate(p_value); generate(p_value);
} else } else
return false; return false;

View file

@ -739,12 +739,12 @@ void ShaderGLES2::set_custom_shader(uint32_t p_code_id) {
void ShaderGLES2::free_custom_shader(uint32_t p_code_id) { void ShaderGLES2::free_custom_shader(uint32_t p_code_id) {
if (! custom_code_map.has( p_code_id )) { /* if (! custom_code_map.has( p_code_id )) {
print_line("no code id "+itos(p_code_id)); print_line("no code id "+itos(p_code_id));
} else { } else {
print_line("freed code id "+itos(p_code_id)); print_line("freed code id "+itos(p_code_id));
} }*/
ERR_FAIL_COND(! custom_code_map.has( p_code_id )); ERR_FAIL_COND(! custom_code_map.has( p_code_id ));
if (conditional_version.code_version==p_code_id) if (conditional_version.code_version==p_code_id)