Merge pull request #6549 from Hinsbart/default_layout

Make the choosable default editor layout the same as the actual default

[ci skip]
This commit is contained in:
Rémi Verschelde 2016-09-19 18:59:54 +02:00 committed by GitHub
commit d47e1f11fe

View file

@ -6254,9 +6254,9 @@ EditorNode::EditorNode() {
overridden_default_layout=-1;
default_layout.instance();
default_layout->set_value(docks_section, "dock_3", TTR("Scene"));
default_layout->set_value(docks_section, "dock_4", TTR("FileSystem"));
default_layout->set_value(docks_section, "dock_5", TTR("Inspector"));
default_layout->set_value(docks_section, "dock_3", TTR("FileSystem"));
default_layout->set_value(docks_section, "dock_5", TTR("Scene"));
default_layout->set_value(docks_section, "dock_6", TTR("Inspector")+","+TTR("Node"));
for(int i=0;i<DOCK_SLOT_MAX/2;i++)
default_layout->set_value(docks_section, "dock_hsplit_"+itos(i+1), 0);