diff options
| author | Bojidar Marinov | 2016-05-10 20:20:28 +0300 |
|---|---|---|
| committer | Bojidar Marinov | 2016-05-10 20:23:58 +0300 |
| commit | 0b572b35c2a5b284f7ecae4160fccda9a0eec336 (patch) | |
| tree | 46dbdcca3ef589c054c347e861a941ddb3a141ab /tools/editor/editor_settings.cpp | |
| parent | b78b01354d7deb0f52c95539805688943b44695f (diff) | |
| download | godot-0b572b35c2a5b284f7ecae4160fccda9a0eec336.tar.gz godot-0b572b35c2a5b284f7ecae4160fccda9a0eec336.tar.zst godot-0b572b35c2a5b284f7ecae4160fccda9a0eec336.zip | |
Fix #4588 (crash Control::_set_anchor)
Thanks to @vnen for testing this
Diffstat (limited to '')
| -rw-r--r-- | tools/editor/editor_settings.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/editor/editor_settings.cpp b/tools/editor/editor_settings.cpp index 29f0af5aa..4540419a1 100644 --- a/tools/editor/editor_settings.cpp +++ b/tools/editor/editor_settings.cpp @@ -459,6 +459,8 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) { set("2d_editor/bone_color2",Color(0.75,0.75,0.75,0.9)); set("2d_editor/bone_selected_color",Color(0.9,0.45,0.45,0.9)); set("2d_editor/bone_ik_color",Color(0.9,0.9,0.45,0.9)); + + set("2d_editor/keep_margins_when_changing_anchors", false); set("game_window_placement/rect",0); hints["game_window_placement/rect"]=PropertyInfo(Variant::INT,"game_window_placement/rect",PROPERTY_HINT_ENUM,"Default,Centered,Custom Position,Force Maximized,Force Full Screen"); |
