mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-11 16:25:41 +00:00
Fix property warnings and hide some debug prints
"ALL IS GOOD" was a lie. In particular, removes verbose "path not recognized" false positive. The actual logic is to (somewhat naively) check all ResourceFormatLoaders and to pick the first good match, so no need to warn about the formats that do not match the type hint.
This commit is contained in:
@@ -407,7 +407,7 @@ void EditorSettings::setup_network() {
|
||||
IP::get_singleton()->get_local_addresses(&local_ip);
|
||||
String lip;
|
||||
String hint;
|
||||
String current = get("network/debug_host");
|
||||
String current = has("network/debug_host") ? get("network/debug_host") : "";
|
||||
|
||||
for (List<IP_Address>::Element *E = local_ip.front(); E; E = E->next()) {
|
||||
|
||||
@@ -591,9 +591,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
|
||||
set("editors/2d/bone_color2", Color(0.75, 0.75, 0.75, 0.9));
|
||||
set("editors/2d/bone_selected_color", Color(0.9, 0.45, 0.45, 0.9));
|
||||
set("editors/2d/bone_ik_color", Color(0.9, 0.9, 0.45, 0.9));
|
||||
|
||||
set("editors/2d/keep_margins_when_changing_anchors", false);
|
||||
|
||||
set("editors/2d/warped_mouse_panning", true);
|
||||
|
||||
set("run/window_placement/rect", 0);
|
||||
|
||||
Reference in New Issue
Block a user