From a94409639a71f615f0c29e11d7da7464bda3394c Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Sat, 30 Nov 2024 16:22:54 +0200 Subject: [PATCH] Update the default layouts to include the Tiles panel --- assets/layouts/Default.tres | 81 ++++++++++++++++++++-------------- assets/layouts/Tallscreen.tres | 67 +++++++++++++++++----------- 2 files changed, 89 insertions(+), 59 deletions(-) diff --git a/assets/layouts/Default.tres b/assets/layouts/Default.tres index 6f753dda1a8..119610248ec 100644 --- a/assets/layouts/Default.tres +++ b/assets/layouts/Default.tres @@ -1,30 +1,44 @@ -[gd_resource type="Resource" script_class="DockableLayout" load_steps=27 format=3 uid="uid://4xtpiowddm7p"] +[gd_resource type="Resource" script_class="DockableLayout" load_steps=29 format=3 uid="uid://4xtpiowddm7p"] -[ext_resource type="Script" path="res://addons/dockable_container/layout_panel.gd" id="1"] -[ext_resource type="Script" path="res://addons/dockable_container/layout_split.gd" id="2"] -[ext_resource type="Script" path="res://addons/dockable_container/layout.gd" id="3"] +[ext_resource type="Script" path="res://addons/dockable_container/layout_panel.gd" id="1_jxh43"] +[ext_resource type="Script" path="res://addons/dockable_container/layout_split.gd" id="2_lw52w"] +[ext_resource type="Script" path="res://addons/dockable_container/layout.gd" id="3_4h5wj"] [sub_resource type="Resource" id="Resource_atmme"] resource_name = "Tabs" -script = ExtResource("1") +script = ExtResource("1_jxh43") names = PackedStringArray("Tools") current_tab = 0 +[sub_resource type="Resource" id="Resource_4b0py"] +resource_name = "Tabs" +script = ExtResource("1_jxh43") +names = PackedStringArray("Tiles") +current_tab = 0 + +[sub_resource type="Resource" id="Resource_epagr"] +resource_name = "Split" +script = ExtResource("2_lw52w") +direction = 1 +percent = 0.5 +first = SubResource("Resource_atmme") +second = SubResource("Resource_4b0py") + [sub_resource type="Resource" id="Resource_ouvfk"] resource_name = "Tabs" -script = ExtResource("1") +script = ExtResource("1_jxh43") names = PackedStringArray("Main Canvas") current_tab = 0 [sub_resource type="Resource" id="Resource_an0ef"] resource_name = "Tabs" -script = ExtResource("1") +script = ExtResource("1_jxh43") names = PackedStringArray("Perspective Editor") current_tab = 0 [sub_resource type="Resource" id="Resource_xgnjk"] resource_name = "Split" -script = ExtResource("2") +script = ExtResource("2_lw52w") direction = 0 percent = 0.5 first = SubResource("Resource_ouvfk") @@ -32,13 +46,13 @@ second = SubResource("Resource_an0ef") [sub_resource type="Resource" id="Resource_o7cqb"] resource_name = "Tabs" -script = ExtResource("1") +script = ExtResource("1_jxh43") names = PackedStringArray("Second Canvas") current_tab = 0 [sub_resource type="Resource" id="Resource_ataha"] resource_name = "Split" -script = ExtResource("2") +script = ExtResource("2_lw52w") direction = 0 percent = 0.980952 first = SubResource("Resource_xgnjk") @@ -46,13 +60,13 @@ second = SubResource("Resource_o7cqb") [sub_resource type="Resource" id="Resource_8y4au"] resource_name = "Tabs" -script = ExtResource("1") +script = ExtResource("1_jxh43") names = PackedStringArray("Animation Timeline") current_tab = 0 [sub_resource type="Resource" id="Resource_q2jwk"] resource_name = "Split" -script = ExtResource("2") +script = ExtResource("2_lw52w") direction = 1 percent = 0.75578 first = SubResource("Resource_ataha") @@ -60,19 +74,19 @@ second = SubResource("Resource_8y4au") [sub_resource type="Resource" id="Resource_5r0ap"] resource_name = "Tabs" -script = ExtResource("1") +script = ExtResource("1_jxh43") names = PackedStringArray("Canvas Preview") current_tab = 0 [sub_resource type="Resource" id="Resource_6pqxe"] resource_name = "Tabs" -script = ExtResource("1") +script = ExtResource("1_jxh43") names = PackedStringArray("Recorder") current_tab = 0 [sub_resource type="Resource" id="Resource_ln20x"] resource_name = "Split" -script = ExtResource("2") +script = ExtResource("2_lw52w") direction = 1 percent = 0.911765 first = SubResource("Resource_5r0ap") @@ -80,39 +94,39 @@ second = SubResource("Resource_6pqxe") [sub_resource type="Resource" id="Resource_dksrd"] resource_name = "Tabs" -script = ExtResource("1") +script = ExtResource("1_jxh43") names = PackedStringArray("Global Tool Options") current_tab = 0 [sub_resource type="Resource" id="Resource_kmey0"] resource_name = "Tabs" -script = ExtResource("1") +script = ExtResource("1_jxh43") names = PackedStringArray("Color Picker", "Reference Images") current_tab = 0 [sub_resource type="Resource" id="Resource_1tm61"] resource_name = "Split" -script = ExtResource("2") +script = ExtResource("2_lw52w") direction = 1 -percent = 0.134307 +percent = 0.0499712 first = SubResource("Resource_dksrd") second = SubResource("Resource_kmey0") [sub_resource type="Resource" id="Resource_btl4b"] resource_name = "Tabs" -script = ExtResource("1") +script = ExtResource("1_jxh43") names = PackedStringArray("Left Tool Options") current_tab = 0 [sub_resource type="Resource" id="Resource_eu0mc"] resource_name = "Tabs" -script = ExtResource("1") +script = ExtResource("1_jxh43") names = PackedStringArray("Right Tool Options") current_tab = 0 [sub_resource type="Resource" id="Resource_8ff4m"] resource_name = "Split" -script = ExtResource("2") +script = ExtResource("2_lw52w") direction = 0 percent = 0.5 first = SubResource("Resource_btl4b") @@ -120,21 +134,21 @@ second = SubResource("Resource_eu0mc") [sub_resource type="Resource" id="Resource_e72nu"] resource_name = "Split" -script = ExtResource("2") +script = ExtResource("2_lw52w") direction = 1 -percent = 0.660142 +percent = 0.643859 first = SubResource("Resource_1tm61") second = SubResource("Resource_8ff4m") [sub_resource type="Resource" id="Resource_sg54a"] resource_name = "Tabs" -script = ExtResource("1") +script = ExtResource("1_jxh43") names = PackedStringArray("Palettes") current_tab = 0 [sub_resource type="Resource" id="Resource_gdwmg"] resource_name = "Split" -script = ExtResource("2") +script = ExtResource("2_lw52w") direction = 1 percent = 0.82948 first = SubResource("Resource_e72nu") @@ -142,7 +156,7 @@ second = SubResource("Resource_sg54a") [sub_resource type="Resource" id="Resource_acda3"] resource_name = "Split" -script = ExtResource("2") +script = ExtResource("2_lw52w") direction = 1 percent = 0.0549133 first = SubResource("Resource_ln20x") @@ -150,30 +164,31 @@ second = SubResource("Resource_gdwmg") [sub_resource type="Resource" id="Resource_2qk0j"] resource_name = "Split" -script = ExtResource("2") +script = ExtResource("2_lw52w") direction = 0 -percent = 0.731967 +percent = 0.704098 first = SubResource("Resource_q2jwk") second = SubResource("Resource_acda3") [sub_resource type="Resource" id="Resource_msuil"] resource_name = "Split" -script = ExtResource("2") +script = ExtResource("2_lw52w") direction = 0 percent = 0.0 -first = SubResource("Resource_atmme") +first = SubResource("Resource_epagr") second = SubResource("Resource_2qk0j") [resource] resource_name = "Default" -script = ExtResource("3") +script = ExtResource("3_4h5wj") root = SubResource("Resource_msuil") hidden_tabs = { "Canvas Preview": true, "Color Picker Sliders": true, "Perspective Editor": true, "Recorder": true, -"Second Canvas": true +"Second Canvas": true, +"Tiles": true } windows = {} save_on_change = false diff --git a/assets/layouts/Tallscreen.tres b/assets/layouts/Tallscreen.tres index cf125289214..b1d96489b9c 100644 --- a/assets/layouts/Tallscreen.tres +++ b/assets/layouts/Tallscreen.tres @@ -1,24 +1,24 @@ -[gd_resource type="Resource" script_class="DockableLayout" load_steps=23 format=3 uid="uid://brcnmadkdaqok"] +[gd_resource type="Resource" script_class="DockableLayout" load_steps=25 format=3 uid="uid://brcnmadkdaqok"] -[ext_resource type="Script" path="res://addons/dockable_container/layout_panel.gd" id="1_nokpu"] -[ext_resource type="Script" path="res://addons/dockable_container/layout_split.gd" id="2_q5vl6"] -[ext_resource type="Script" path="res://addons/dockable_container/layout.gd" id="3_ox7l5"] +[ext_resource type="Script" path="res://addons/dockable_container/layout_panel.gd" id="1_t44r1"] +[ext_resource type="Script" path="res://addons/dockable_container/layout_split.gd" id="2_rngtv"] +[ext_resource type="Script" path="res://addons/dockable_container/layout.gd" id="3_v86xb"] [sub_resource type="Resource" id="Resource_kn4x4"] resource_name = "Tabs" -script = ExtResource("1_nokpu") +script = ExtResource("1_t44r1") names = PackedStringArray("Main Canvas") current_tab = 0 [sub_resource type="Resource" id="Resource_btw27"] resource_name = "Tabs" -script = ExtResource("1_nokpu") +script = ExtResource("1_t44r1") names = PackedStringArray("Second Canvas") current_tab = 0 [sub_resource type="Resource" id="Resource_bp28t"] resource_name = "Split" -script = ExtResource("2_q5vl6") +script = ExtResource("2_rngtv") direction = 0 percent = 0.829091 first = SubResource("Resource_kn4x4") @@ -26,13 +26,13 @@ second = SubResource("Resource_btw27") [sub_resource type="Resource" id="Resource_10g0s"] resource_name = "Tabs" -script = ExtResource("1_nokpu") +script = ExtResource("1_t44r1") names = PackedStringArray("Perspective Editor") current_tab = 0 [sub_resource type="Resource" id="Resource_otntk"] resource_name = "Split" -script = ExtResource("2_q5vl6") +script = ExtResource("2_rngtv") direction = 0 percent = 0.8625 first = SubResource("Resource_bp28t") @@ -40,25 +40,25 @@ second = SubResource("Resource_10g0s") [sub_resource type="Resource" id="Resource_12axs"] resource_name = "Tabs" -script = ExtResource("1_nokpu") +script = ExtResource("1_t44r1") names = PackedStringArray("Tools") current_tab = 0 [sub_resource type="Resource" id="Resource_1omiw"] resource_name = "Tabs" -script = ExtResource("1_nokpu") +script = ExtResource("1_t44r1") names = PackedStringArray("Left Tool Options", "Right Tool Options") current_tab = 0 [sub_resource type="Resource" id="Resource_p32ds"] resource_name = "Tabs" -script = ExtResource("1_nokpu") +script = ExtResource("1_t44r1") names = PackedStringArray("Color Picker") current_tab = 0 [sub_resource type="Resource" id="Resource_n6xyc"] resource_name = "Split" -script = ExtResource("2_q5vl6") +script = ExtResource("2_rngtv") direction = 0 percent = 0.5 first = SubResource("Resource_1omiw") @@ -66,19 +66,19 @@ second = SubResource("Resource_p32ds") [sub_resource type="Resource" id="Resource_1dcep"] resource_name = "Tabs" -script = ExtResource("1_nokpu") +script = ExtResource("1_t44r1") names = PackedStringArray("Canvas Preview", "Reference Images", "Recorder") current_tab = 0 [sub_resource type="Resource" id="Resource_hc3ve"] resource_name = "Tabs" -script = ExtResource("1_nokpu") +script = ExtResource("1_t44r1") names = PackedStringArray("Global Tool Options") current_tab = 0 [sub_resource type="Resource" id="Resource_nppps"] resource_name = "Split" -script = ExtResource("2_q5vl6") +script = ExtResource("2_rngtv") direction = 1 percent = 0.729839 first = SubResource("Resource_1dcep") @@ -86,13 +86,13 @@ second = SubResource("Resource_hc3ve") [sub_resource type="Resource" id="Resource_d54jb"] resource_name = "Tabs" -script = ExtResource("1_nokpu") +script = ExtResource("1_t44r1") names = PackedStringArray("Palettes") current_tab = 0 [sub_resource type="Resource" id="Resource_f6rik"] resource_name = "Split" -script = ExtResource("2_q5vl6") +script = ExtResource("2_rngtv") direction = 0 percent = 0.5 first = SubResource("Resource_nppps") @@ -100,7 +100,7 @@ second = SubResource("Resource_d54jb") [sub_resource type="Resource" id="Resource_26vov"] resource_name = "Split" -script = ExtResource("2_q5vl6") +script = ExtResource("2_rngtv") direction = 0 percent = 0.501251 first = SubResource("Resource_n6xyc") @@ -108,21 +108,35 @@ second = SubResource("Resource_f6rik") [sub_resource type="Resource" id="Resource_m3axb"] resource_name = "Tabs" -script = ExtResource("1_nokpu") +script = ExtResource("1_t44r1") names = PackedStringArray("Animation Timeline") current_tab = 0 +[sub_resource type="Resource" id="Resource_8dhxy"] +resource_name = "Tabs" +script = ExtResource("1_t44r1") +names = PackedStringArray("Tiles") +current_tab = 0 + +[sub_resource type="Resource" id="Resource_j3q3h"] +resource_name = "Split" +script = ExtResource("2_rngtv") +direction = 0 +percent = 0.5 +first = SubResource("Resource_m3axb") +second = SubResource("Resource_8dhxy") + [sub_resource type="Resource" id="Resource_af0bk"] resource_name = "Split" -script = ExtResource("2_q5vl6") +script = ExtResource("2_rngtv") direction = 1 percent = 0.5 first = SubResource("Resource_26vov") -second = SubResource("Resource_m3axb") +second = SubResource("Resource_j3q3h") [sub_resource type="Resource" id="Resource_1xpva"] resource_name = "Split" -script = ExtResource("2_q5vl6") +script = ExtResource("2_rngtv") direction = 0 percent = 0.03125 first = SubResource("Resource_12axs") @@ -130,7 +144,7 @@ second = SubResource("Resource_af0bk") [sub_resource type="Resource" id="Resource_6dytr"] resource_name = "Split" -script = ExtResource("2_q5vl6") +script = ExtResource("2_rngtv") direction = 1 percent = 0.459538 first = SubResource("Resource_otntk") @@ -138,12 +152,13 @@ second = SubResource("Resource_1xpva") [resource] resource_name = "Tallscreen" -script = ExtResource("3_ox7l5") +script = ExtResource("3_v86xb") root = SubResource("Resource_6dytr") hidden_tabs = { "Perspective Editor": true, "Recorder": true, -"Second Canvas": true +"Second Canvas": true, +"Tiles": true } windows = {} save_on_change = false