1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Merge pull request #5283 from djrm/remove_prints

Removed lots of prints
This commit is contained in:
Rémi Verschelde
2016-06-19 13:10:23 +02:00
committed by GitHub
7 changed files with 2 additions and 34 deletions

View File

@@ -63,7 +63,6 @@ bool EditorSettings::_set(const StringName& p_name, const Variant& p_value) {
Array arr=p_value;
ERR_FAIL_COND_V(arr.size() && arr.size()&1,true);
print_line("shortcuts: "+Variant(arr).get_construct_string());
for(int i=0;i<arr.size();i+=2) {
String name = arr[i];
@@ -399,14 +398,11 @@ String EditorSettings::get_settings_path() const {
void EditorSettings::setup_language() {
String lang = get("global/editor_language");
print_line("LANG IS "+lang);
if (lang=="en")
return; //none to do
for(int i=0;i<translations.size();i++) {
print_line("TESTING "+translations[i]->get_locale());
if (translations[i]->get_locale()==lang) {
print_line("ok translation");
TranslationServer::get_singleton()->set_tool_translation(translations[i]);
break;
}
@@ -711,7 +707,6 @@ void EditorSettings::notify_changes() {
sml = OS::get_singleton()->get_main_loop()->cast_to<SceneTree>();
if (!sml) {
print_line("not SML");
return;
}