Merge pull request #108647 from KoBeWi/docking_abyss

Make bottom panel into available dock slot
This commit is contained in:
Thaddeus Crews 2025-11-21 14:46:48 -06:00
commit 884bf2f332
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
30 changed files with 594 additions and 422 deletions

View file

@ -1184,8 +1184,6 @@ void GridMapEditor::_update_theme() {
void GridMapEditor::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_ENTER_TREE: {
mesh_library_palette->connect(SceneStringName(item_selected), callable_mp(this, &GridMapEditor::_item_selected_cbk));
const RID scenario = get_tree()->get_root()->get_world_3d()->get_scenario();
for (int i = 0; i < 3; i++) {
@ -1585,6 +1583,7 @@ GridMapEditor::GridMapEditor() {
add_child(mesh_library_palette);
mesh_library_palette->set_v_size_flags(SIZE_EXPAND_FILL);
mesh_library_palette->connect(SceneStringName(gui_input), callable_mp(this, &GridMapEditor::_mesh_library_palette_input));
mesh_library_palette->connect(SceneStringName(item_selected), callable_mp(this, &GridMapEditor::_item_selected_cbk));
info_message = memnew(Label);
info_message->set_focus_mode(FOCUS_ACCESSIBILITY);