From 66dcbb02b0617f52c5b019bf5da732683c10b5b4 Mon Sep 17 00:00:00 2001 From: Relintai Date: Thu, 7 Mar 2024 23:27:50 +0100 Subject: [PATCH] Fix calling method from signal. --- .../editor/layered_tile_set_atlas_source_editor.cpp | 2 +- .../editor/layered_tile_set_atlas_source_editor.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/layered_tile_map/editor/layered_tile_set_atlas_source_editor.cpp b/modules/layered_tile_map/editor/layered_tile_set_atlas_source_editor.cpp index 3045bb6740..3ebc5d35c0 100644 --- a/modules/layered_tile_map/editor/layered_tile_set_atlas_source_editor.cpp +++ b/modules/layered_tile_map/editor/layered_tile_set_atlas_source_editor.cpp @@ -2521,7 +2521,7 @@ void LayeredTileSetAtlasSourceEditor::_notification(int p_what) { } } -void LayeredTileSetAtlasSourceEditor::_tools_button_group_pressed() { +void LayeredTileSetAtlasSourceEditor::_tools_button_group_pressed(Object *p_button) { _update_fix_selected_and_hovered_tiles(); _update_tile_id_label(); _update_atlas_source_inspector(); diff --git a/modules/layered_tile_map/editor/layered_tile_set_atlas_source_editor.h b/modules/layered_tile_map/editor/layered_tile_set_atlas_source_editor.h index 2bd773bdbd..f1008e84a1 100644 --- a/modules/layered_tile_map/editor/layered_tile_set_atlas_source_editor.h +++ b/modules/layered_tile_map/editor/layered_tile_set_atlas_source_editor.h @@ -293,7 +293,7 @@ class LayeredTileSetAtlasSourceEditor : public HSplitContainer { void _undo_redo_inspector_callback(Object *p_undo_redo, Object *p_edited, const String &p_property, const Variant &p_new_value); protected: - void _tools_button_group_pressed(); + void _tools_button_group_pressed(Object *p_button); void _notification(int p_what); static void _bind_methods();