diff --git a/core/config/project_settings.cpp b/core/config/project_settings.cpp index 1772a4a9b87..60703a25a45 100644 --- a/core/config/project_settings.cpp +++ b/core/config/project_settings.cpp @@ -38,6 +38,7 @@ #include "core/io/file_access_pack.h" #include "core/io/marshalls.h" #include "core/io/resource_uid.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/object/message_queue.h" #include "core/object/script_language.h" diff --git a/core/extension/gdextension.cpp b/core/extension/gdextension.cpp index 61210127c6e..bc1212cee29 100644 --- a/core/extension/gdextension.cpp +++ b/core/extension/gdextension.cpp @@ -32,6 +32,7 @@ #include "gdextension.compat.inc" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/object/method_bind.h" #include "gdextension_library_loader.h" diff --git a/core/extension/gdextension_manager.cpp b/core/extension/gdextension_manager.cpp index 67b44860ad4..86aacfd691c 100644 --- a/core/extension/gdextension_manager.cpp +++ b/core/extension/gdextension_manager.cpp @@ -36,6 +36,7 @@ #include "core/extension/gdextension_special_compat_hashes.h" #include "core/io/dir_access.h" #include "core/io/file_access.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/object/script_language.h" #include "core/os/os.h" diff --git a/core/io/resource_loader.cpp b/core/io/resource_loader.cpp index b41c379b3ac..b6abee964d2 100644 --- a/core/io/resource_loader.cpp +++ b/core/io/resource_loader.cpp @@ -36,6 +36,7 @@ #include "core/io/dir_access.h" #include "core/io/file_access.h" #include "core/io/resource_importer.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/object/message_queue.h" #include "core/object/script_language.h" diff --git a/core/object/callable_method_pointer.cpp b/core/object/callable_mp.cpp similarity index 97% rename from core/object/callable_method_pointer.cpp rename to core/object/callable_mp.cpp index ed400788b1c..6506643f1ff 100644 --- a/core/object/callable_method_pointer.cpp +++ b/core/object/callable_mp.cpp @@ -1,5 +1,5 @@ /**************************************************************************/ -/* callable_method_pointer.cpp */ +/* callable_mp.cpp */ /**************************************************************************/ /* This file is part of: */ /* GODOT ENGINE */ @@ -28,7 +28,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -#include "callable_method_pointer.h" +#include "callable_mp.h" bool CallableCustomMethodPointerBase::compare_equal(const CallableCustom *p_a, const CallableCustom *p_b) { const CallableCustomMethodPointerBase *a = static_cast(p_a); diff --git a/core/object/callable_method_pointer.h b/core/object/callable_mp.h similarity index 99% rename from core/object/callable_method_pointer.h rename to core/object/callable_mp.h index 218799933d0..aad45a0048b 100644 --- a/core/object/callable_method_pointer.h +++ b/core/object/callable_mp.h @@ -1,5 +1,5 @@ /**************************************************************************/ -/* callable_method_pointer.h */ +/* callable_mp.h */ /**************************************************************************/ /* This file is part of: */ /* GODOT ENGINE */ diff --git a/core/object/class_db.h b/core/object/class_db.h index 5eaaa826ac1..2596ae85fd5 100644 --- a/core/object/class_db.h +++ b/core/object/class_db.h @@ -34,10 +34,6 @@ #include "core/object/object.h" #include "core/os/rw_lock.h" #include "core/string/print_string.h" - -// Makes callable_mp readily available in all classes connecting signals. -// Needs to come after method_bind and object have been included. -#include "core/object/callable_method_pointer.h" #include "core/templates/a_hash_map.h" #include "core/templates/hash_set.h" diff --git a/core/object/script_language.cpp b/core/object/script_language.cpp index 0899e67ea15..275a95ad83b 100644 --- a/core/object/script_language.cpp +++ b/core/object/script_language.cpp @@ -36,6 +36,7 @@ #include "core/debugger/engine_debugger.h" #include "core/debugger/script_debugger.h" #include "core/io/resource_loader.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "core/templates/sort_array.h" diff --git a/editor/animation/animation_bezier_editor.cpp b/editor/animation/animation_bezier_editor.cpp index 65bb2647529..7a42fe188c2 100644 --- a/editor/animation/animation_bezier_editor.cpp +++ b/editor/animation/animation_bezier_editor.cpp @@ -30,6 +30,7 @@ #include "animation_bezier_editor.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/string/translation_server.h" #include "editor/animation/animation_player_editor_plugin.h" diff --git a/editor/animation/animation_blend_space_1d_editor.cpp b/editor/animation/animation_blend_space_1d_editor.cpp index 225857e2aa6..f3a6fb19cf8 100644 --- a/editor/animation/animation_blend_space_1d_editor.cpp +++ b/editor/animation/animation_blend_space_1d_editor.cpp @@ -30,6 +30,7 @@ #include "animation_blend_space_1d_editor.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "editor/editor_node.h" diff --git a/editor/animation/animation_blend_space_2d_editor.cpp b/editor/animation/animation_blend_space_2d_editor.cpp index aa9bb4e6bc9..930077fcb6c 100644 --- a/editor/animation/animation_blend_space_2d_editor.cpp +++ b/editor/animation/animation_blend_space_2d_editor.cpp @@ -32,6 +32,7 @@ #include "core/io/resource_loader.h" #include "core/math/geometry_2d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "editor/editor_node.h" diff --git a/editor/animation/animation_blend_tree_editor_plugin.cpp b/editor/animation/animation_blend_tree_editor_plugin.cpp index 1dc91df739b..7dbe52f1306 100644 --- a/editor/animation/animation_blend_tree_editor_plugin.cpp +++ b/editor/animation/animation_blend_tree_editor_plugin.cpp @@ -32,6 +32,7 @@ #include "core/config/project_settings.h" #include "core/io/resource_loader.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/templates/rb_set.h" #include "editor/editor_node.h" diff --git a/editor/animation/animation_library_editor.cpp b/editor/animation/animation_library_editor.cpp index 422fdfc4050..adc358547a5 100644 --- a/editor/animation/animation_library_editor.cpp +++ b/editor/animation/animation_library_editor.cpp @@ -31,6 +31,7 @@ #include "animation_library_editor.h" #include "core/io/resource_loader.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/string/ustring.h" #include "core/templates/vector.h" diff --git a/editor/animation/animation_player_editor_plugin.cpp b/editor/animation/animation_player_editor_plugin.cpp index 10270ce9e8c..fc6e0059543 100644 --- a/editor/animation/animation_player_editor_plugin.cpp +++ b/editor/animation/animation_player_editor_plugin.cpp @@ -32,6 +32,7 @@ #include "core/config/project_settings.h" #include "core/input/input.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "core/os/os.h" diff --git a/editor/animation/animation_state_machine_editor.cpp b/editor/animation/animation_state_machine_editor.cpp index ad96475b1b9..8385122801b 100644 --- a/editor/animation/animation_state_machine_editor.cpp +++ b/editor/animation/animation_state_machine_editor.cpp @@ -32,6 +32,7 @@ #include "core/io/resource_loader.h" #include "core/math/geometry_2d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "editor/editor_node.h" diff --git a/editor/animation/animation_track_editor.cpp b/editor/animation/animation_track_editor.cpp index 6bfdbe91bad..698c02d89bf 100644 --- a/editor/animation/animation_track_editor.cpp +++ b/editor/animation/animation_track_editor.cpp @@ -34,6 +34,7 @@ #include "core/config/project_settings.h" #include "core/error/error_macros.h" #include "core/input/input.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/string/translation_server.h" #include "editor/animation/animation_bezier_editor.h" diff --git a/editor/animation/animation_track_editor.h b/editor/animation/animation_track_editor.h index f31e14d091d..7425d6a3efe 100644 --- a/editor/animation/animation_track_editor.h +++ b/editor/animation/animation_track_editor.h @@ -909,7 +909,7 @@ protected: void _notification(int p_what); public: - // Public for use with callable_mp. + // Public for use as signal callback. void _clear_selection(bool p_update = false); void _key_selected(int p_key, bool p_single, int p_track); void _key_deselected(int p_key, int p_track); diff --git a/editor/animation/animation_track_editor_plugins.cpp b/editor/animation/animation_track_editor_plugins.cpp index bc26a9a392d..66762dff045 100644 --- a/editor/animation/animation_track_editor_plugins.cpp +++ b/editor/animation/animation_track_editor_plugins.cpp @@ -30,6 +30,7 @@ #include "animation_track_editor_plugins.h" +#include "core/object/callable_mp.h" #include "editor/audio/audio_stream_preview.h" #include "editor/editor_string_names.h" #include "editor/editor_undo_redo_manager.h" diff --git a/editor/animation/animation_tree_editor_plugin.cpp b/editor/animation/animation_tree_editor_plugin.cpp index 08f116172ab..c3b2f2ea15c 100644 --- a/editor/animation/animation_tree_editor_plugin.cpp +++ b/editor/animation/animation_tree_editor_plugin.cpp @@ -34,6 +34,7 @@ #include "animation_blend_space_2d_editor.h" #include "animation_blend_tree_editor_plugin.h" #include "animation_state_machine_editor.h" +#include "core/object/callable_mp.h" #include "editor/docks/editor_dock_manager.h" #include "editor/editor_node.h" #include "editor/gui/editor_bottom_panel.h" diff --git a/editor/asset_library/asset_library_editor_plugin.cpp b/editor/asset_library/asset_library_editor_plugin.cpp index fe808c0c1d7..4fd692819d9 100644 --- a/editor/asset_library/asset_library_editor_plugin.cpp +++ b/editor/asset_library/asset_library_editor_plugin.cpp @@ -34,6 +34,7 @@ #include "core/io/dir_access.h" #include "core/io/json.h" #include "core/io/stream_peer_tls.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "core/os/os.h" diff --git a/editor/asset_library/editor_asset_installer.cpp b/editor/asset_library/editor_asset_installer.cpp index 6d7cb1c4088..77cc2e24ad7 100644 --- a/editor/asset_library/editor_asset_installer.cpp +++ b/editor/asset_library/editor_asset_installer.cpp @@ -33,6 +33,7 @@ #include "core/io/dir_access.h" #include "core/io/file_access.h" #include "core/io/zip_io.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" diff --git a/editor/audio/audio_stream_editor_plugin.cpp b/editor/audio/audio_stream_editor_plugin.cpp index 93b666f67d0..04eea59c747 100644 --- a/editor/audio/audio_stream_editor_plugin.cpp +++ b/editor/audio/audio_stream_editor_plugin.cpp @@ -30,6 +30,7 @@ #include "audio_stream_editor_plugin.h" +#include "core/object/callable_mp.h" #include "editor/audio/audio_stream_preview.h" #include "editor/editor_string_names.h" #include "editor/settings/editor_settings.h" diff --git a/editor/audio/audio_stream_preview.cpp b/editor/audio/audio_stream_preview.cpp index d80753f74a0..f72b7d6cb49 100644 --- a/editor/audio/audio_stream_preview.cpp +++ b/editor/audio/audio_stream_preview.cpp @@ -30,6 +30,7 @@ #include "audio_stream_preview.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" ///////////////////// diff --git a/editor/audio/audio_stream_randomizer_editor_plugin.cpp b/editor/audio/audio_stream_randomizer_editor_plugin.cpp index 5e364b11163..c0c231e5cf1 100644 --- a/editor/audio/audio_stream_randomizer_editor_plugin.cpp +++ b/editor/audio/audio_stream_randomizer_editor_plugin.cpp @@ -30,6 +30,7 @@ #include "audio_stream_randomizer_editor_plugin.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "editor/editor_undo_redo_manager.h" #include "servers/audio/audio_stream.h" diff --git a/editor/audio/editor_audio_buses.cpp b/editor/audio/editor_audio_buses.cpp index 5852f62dd97..b5f25c9a859 100644 --- a/editor/audio/editor_audio_buses.cpp +++ b/editor/audio/editor_audio_buses.cpp @@ -33,6 +33,7 @@ #include "core/config/project_settings.h" #include "core/input/input.h" #include "core/io/resource_saver.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "editor/docks/editor_dock_manager.h" diff --git a/editor/debugger/debug_adapter/debug_adapter_protocol.cpp b/editor/debugger/debug_adapter/debug_adapter_protocol.cpp index 7cbba5dc441..367b956640f 100644 --- a/editor/debugger/debug_adapter/debug_adapter_protocol.cpp +++ b/editor/debugger/debug_adapter/debug_adapter_protocol.cpp @@ -34,6 +34,7 @@ #include "core/debugger/debugger_marshalls.h" #include "core/io/json.h" #include "core/io/marshalls.h" +#include "core/object/callable_mp.h" #include "core/os/os.h" #include "editor/debugger/debug_adapter/debug_adapter_parser.h" #include "editor/debugger/script_editor_debugger.h" diff --git a/editor/debugger/debugger_editor_plugin.cpp b/editor/debugger/debugger_editor_plugin.cpp index 285b368f349..cf27dde5ef4 100644 --- a/editor/debugger/debugger_editor_plugin.cpp +++ b/editor/debugger/debugger_editor_plugin.cpp @@ -30,6 +30,7 @@ #include "debugger_editor_plugin.h" +#include "core/object/callable_mp.h" #include "core/os/keyboard.h" #include "editor/debugger/editor_debugger_node.h" #include "editor/debugger/editor_debugger_server.h" diff --git a/editor/debugger/editor_debugger_inspector.cpp b/editor/debugger/editor_debugger_inspector.cpp index 0022e4f7082..a9a66c7b233 100644 --- a/editor/debugger/editor_debugger_inspector.cpp +++ b/editor/debugger/editor_debugger_inspector.cpp @@ -33,6 +33,7 @@ #include "core/debugger/debugger_marshalls.h" #include "core/io/marshalls.h" #include "core/io/resource_loader.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/variant/typed_dictionary.h" #include "editor/docks/inspector_dock.h" diff --git a/editor/debugger/editor_debugger_node.cpp b/editor/debugger/editor_debugger_node.cpp index ef5743c761e..8b3a65ca03a 100644 --- a/editor/debugger/editor_debugger_node.cpp +++ b/editor/debugger/editor_debugger_node.cpp @@ -32,6 +32,7 @@ #include "core/config/engine.h" #include "core/io/resource_loader.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/object/undo_redo.h" #include "editor/debugger/editor_debugger_plugin.h" diff --git a/editor/debugger/editor_debugger_plugin.cpp b/editor/debugger/editor_debugger_plugin.cpp index 02c01040052..e385feb8d68 100644 --- a/editor/debugger/editor_debugger_plugin.cpp +++ b/editor/debugger/editor_debugger_plugin.cpp @@ -30,6 +30,7 @@ #include "editor_debugger_plugin.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/debugger/script_editor_debugger.h" diff --git a/editor/debugger/editor_debugger_tree.cpp b/editor/debugger/editor_debugger_tree.cpp index 5245f3a41e5..141880d03ba 100644 --- a/editor/debugger/editor_debugger_tree.cpp +++ b/editor/debugger/editor_debugger_tree.cpp @@ -31,6 +31,7 @@ #include "editor_debugger_tree.h" #include "core/io/resource_saver.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/debugger/editor_debugger_node.h" #include "editor/docks/scene_tree_dock.h" diff --git a/editor/debugger/editor_expression_evaluator.cpp b/editor/debugger/editor_expression_evaluator.cpp index 557dbba948b..609fc401b06 100644 --- a/editor/debugger/editor_expression_evaluator.cpp +++ b/editor/debugger/editor_expression_evaluator.cpp @@ -30,6 +30,7 @@ #include "editor_expression_evaluator.h" +#include "core/object/callable_mp.h" #include "editor/debugger/editor_debugger_inspector.h" #include "editor/debugger/script_editor_debugger.h" #include "editor/editor_string_names.h" diff --git a/editor/debugger/editor_performance_profiler.cpp b/editor/debugger/editor_performance_profiler.cpp index 9d5da010813..c2f7a71f1cd 100644 --- a/editor/debugger/editor_performance_profiler.cpp +++ b/editor/debugger/editor_performance_profiler.cpp @@ -30,6 +30,7 @@ #include "editor_performance_profiler.h" +#include "core/object/callable_mp.h" #include "core/string/translation_server.h" #include "editor/editor_string_names.h" #include "editor/inspector/editor_property_name_processor.h" diff --git a/editor/debugger/editor_profiler.cpp b/editor/debugger/editor_profiler.cpp index ecf33ce93b3..0258c68ef4d 100644 --- a/editor/debugger/editor_profiler.cpp +++ b/editor/debugger/editor_profiler.cpp @@ -31,6 +31,7 @@ #include "editor_profiler.h" #include "core/io/image.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/string/translation_server.h" #include "editor/editor_string_names.h" diff --git a/editor/debugger/editor_visual_profiler.cpp b/editor/debugger/editor_visual_profiler.cpp index 2e8981e34a8..942e6a4fc06 100644 --- a/editor/debugger/editor_visual_profiler.cpp +++ b/editor/debugger/editor_visual_profiler.cpp @@ -31,6 +31,7 @@ #include "editor_visual_profiler.h" #include "core/io/image.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/string/translation_server.h" #include "editor/editor_string_names.h" diff --git a/editor/debugger/script_editor_debugger.cpp b/editor/debugger/script_editor_debugger.cpp index a274cb3ea5b..dc5889cf5d3 100644 --- a/editor/debugger/script_editor_debugger.cpp +++ b/editor/debugger/script_editor_debugger.cpp @@ -33,6 +33,7 @@ #include "core/config/project_settings.h" #include "core/debugger/debugger_marshalls.h" #include "core/debugger/remote_debugger.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "core/string/ustring.h" diff --git a/editor/doc/editor_help.cpp b/editor/doc/editor_help.cpp index 521a8f620e2..17d14801d52 100644 --- a/editor/doc/editor_help.cpp +++ b/editor/doc/editor_help.cpp @@ -36,6 +36,7 @@ #include "core/extension/gdextension.h" #include "core/input/input.h" #include "core/io/json.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/object/script_language.h" #include "core/os/keyboard.h" diff --git a/editor/doc/editor_help_search.cpp b/editor/doc/editor_help_search.cpp index 612c754a0fc..1e07b564d44 100644 --- a/editor/doc/editor_help_search.cpp +++ b/editor/doc/editor_help_search.cpp @@ -30,6 +30,7 @@ #include "editor_help_search.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "editor/editor_main_screen.h" diff --git a/editor/docks/dock_tab_container.cpp b/editor/docks/dock_tab_container.cpp index 14861e078b6..7a5f895da2a 100644 --- a/editor/docks/dock_tab_container.cpp +++ b/editor/docks/dock_tab_container.cpp @@ -30,7 +30,7 @@ #include "dock_tab_container.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "editor/docks/editor_dock.h" #include "editor/docks/editor_dock_manager.h" #include "editor/editor_node.h" diff --git a/editor/docks/editor_dock.cpp b/editor/docks/editor_dock.cpp index fd6c9655c98..293444b1324 100644 --- a/editor/docks/editor_dock.cpp +++ b/editor/docks/editor_dock.cpp @@ -32,6 +32,7 @@ #include "core/input/shortcut.h" #include "core/io/config_file.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/docks/dock_tab_container.h" #include "editor/docks/editor_dock_manager.h" diff --git a/editor/docks/editor_dock_manager.cpp b/editor/docks/editor_dock_manager.cpp index 4d27ba3cec5..a346d305ba9 100644 --- a/editor/docks/editor_dock_manager.cpp +++ b/editor/docks/editor_dock_manager.cpp @@ -30,6 +30,7 @@ #include "editor_dock_manager.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/docks/dock_tab_container.h" #include "editor/docks/editor_dock.h" diff --git a/editor/docks/filesystem_dock.cpp b/editor/docks/filesystem_dock.cpp index 537947f454c..b472c7a8fef 100644 --- a/editor/docks/filesystem_dock.cpp +++ b/editor/docks/filesystem_dock.cpp @@ -35,6 +35,7 @@ #include "core/io/dir_access.h" #include "core/io/file_access.h" #include "core/io/resource_loader.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "core/os/os.h" diff --git a/editor/docks/groups_editor.cpp b/editor/docks/groups_editor.cpp index 979fb021c70..e248fe5ccb3 100644 --- a/editor/docks/groups_editor.cpp +++ b/editor/docks/groups_editor.cpp @@ -30,6 +30,7 @@ #include "groups_editor.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/docks/scene_tree_dock.h" #include "editor/editor_node.h" diff --git a/editor/docks/history_dock.cpp b/editor/docks/history_dock.cpp index 9fe390a77d3..7301de36649 100644 --- a/editor/docks/history_dock.cpp +++ b/editor/docks/history_dock.cpp @@ -31,6 +31,7 @@ #include "history_dock.h" #include "core/io/config_file.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" #include "editor/editor_undo_redo_manager.h" diff --git a/editor/docks/import_dock.cpp b/editor/docks/import_dock.cpp index 7ed771f29a3..36dade99590 100644 --- a/editor/docks/import_dock.cpp +++ b/editor/docks/import_dock.cpp @@ -31,6 +31,7 @@ #include "import_dock.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" diff --git a/editor/docks/inspector_dock.cpp b/editor/docks/inspector_dock.cpp index ce00b9f60ef..55861a0b458 100644 --- a/editor/docks/inspector_dock.cpp +++ b/editor/docks/inspector_dock.cpp @@ -30,6 +30,7 @@ #include "inspector_dock.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/debugger/editor_debugger_inspector.h" #include "editor/debugger/editor_debugger_node.h" diff --git a/editor/docks/scene_tree_dock.cpp b/editor/docks/scene_tree_dock.cpp index 937cbbea39b..cb62d219f3c 100644 --- a/editor/docks/scene_tree_dock.cpp +++ b/editor/docks/scene_tree_dock.cpp @@ -33,6 +33,7 @@ #include "core/config/project_settings.h" #include "core/input/input.h" #include "core/io/resource_saver.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "editor/animation/animation_player_editor_plugin.h" diff --git a/editor/editor_data.cpp b/editor/editor_data.cpp index e40f8077ff0..89ed86bbbe1 100644 --- a/editor/editor_data.cpp +++ b/editor/editor_data.cpp @@ -34,6 +34,7 @@ #include "core/extension/gdextension_manager.h" #include "core/io/file_access.h" #include "core/io/resource_loader.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/time.h" #include "editor/editor_node.h" diff --git a/editor/editor_interface.cpp b/editor/editor_interface.cpp index b87e79dc357..d5d1b5e025e 100644 --- a/editor/editor_interface.cpp +++ b/editor/editor_interface.cpp @@ -34,6 +34,7 @@ #include "core/config/engine.h" #include "core/config/project_settings.h" #include "core/io/resource_loader.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/docks/filesystem_dock.h" #include "editor/docks/inspector_dock.h" @@ -61,6 +62,7 @@ #include "scene/gui/box_container.h" #include "scene/gui/control.h" #include "scene/main/window.h" +#include "scene/resources/image_texture.h" #include "scene/resources/packed_scene.h" #include "scene/resources/theme.h" #include "servers/display/display_server.h" diff --git a/editor/editor_log.cpp b/editor/editor_log.cpp index 7880475b96d..4b9aedc2c48 100644 --- a/editor/editor_log.cpp +++ b/editor/editor_log.cpp @@ -31,6 +31,7 @@ #include "editor_log.h" #include "core/io/resource_loader.h" +#include "core/object/callable_mp.h" #include "core/object/undo_redo.h" #include "core/os/keyboard.h" #include "core/os/os.h" diff --git a/editor/editor_main_screen.cpp b/editor/editor_main_screen.cpp index a68b90d4d1c..730be32eadc 100644 --- a/editor/editor_main_screen.cpp +++ b/editor/editor_main_screen.cpp @@ -31,7 +31,7 @@ #include "editor_main_screen.h" #include "core/io/config_file.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" #include "editor/plugins/editor_plugin.h" diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 3eb893b7b81..c688161151b 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -39,6 +39,7 @@ #include "core/io/image.h" #include "core/io/resource_loader.h" #include "core/io/resource_saver.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "core/os/os.h" diff --git a/editor/editor_node.h b/editor/editor_node.h index b9d1476645e..bf39898dea8 100644 --- a/editor/editor_node.h +++ b/editor/editor_node.h @@ -734,10 +734,11 @@ protected: void _notification(int p_what); public: - // Public for use with callable_mp. - void init_plugins(); + // Public for use as signal callback. void _on_plugin_ready(Object *p_script, const String &p_activate_name); + void init_plugins(); + bool call_build(); void call_run_scene(const String &p_scene, Vector &r_args); diff --git a/editor/export/editor_export.cpp b/editor/export/editor_export.cpp index 0c68516b38b..66910a3c270 100644 --- a/editor/export/editor_export.cpp +++ b/editor/export/editor_export.cpp @@ -32,6 +32,7 @@ #include "core/config/project_settings.h" #include "core/io/config_file.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/settings/editor_settings.h" #include "scene/main/timer.h" diff --git a/editor/export/editor_export_platform_apple_embedded.cpp b/editor/export/editor_export_platform_apple_embedded.cpp index e9233a57b61..57eccb9238c 100644 --- a/editor/export/editor_export_platform_apple_embedded.cpp +++ b/editor/export/editor_export_platform_apple_embedded.cpp @@ -32,6 +32,7 @@ #include "core/io/json.h" #include "core/io/plist.h" +#include "core/object/callable_mp.h" #include "core/os/os.h" #include "core/os/process_id.h" #include "core/string/translation_server.h" diff --git a/editor/export/export_template_manager.cpp b/editor/export/export_template_manager.cpp index fcf6283aab4..c4f98695071 100644 --- a/editor/export/export_template_manager.cpp +++ b/editor/export/export_template_manager.cpp @@ -33,6 +33,7 @@ #include "core/io/dir_access.h" #include "core/io/json.h" #include "core/io/zip_io.h" +#include "core/object/callable_mp.h" #include "core/os/os.h" #include "core/templates/rb_set.h" #include "core/version.h" diff --git a/editor/export/project_export.cpp b/editor/export/project_export.cpp index 45bc7b26015..ae77fda1c12 100644 --- a/editor/export/project_export.cpp +++ b/editor/export/project_export.cpp @@ -31,6 +31,7 @@ #include "project_export.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "core/version.h" diff --git a/editor/file_system/dependency_editor.cpp b/editor/file_system/dependency_editor.cpp index 5377d6c0e80..0195261c1be 100644 --- a/editor/file_system/dependency_editor.cpp +++ b/editor/file_system/dependency_editor.cpp @@ -33,6 +33,7 @@ #include "core/config/project_settings.h" #include "core/io/file_access.h" #include "core/io/resource_loader.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "editor/editor_node.h" diff --git a/editor/file_system/editor_file_system.cpp b/editor/file_system/editor_file_system.cpp index e913b1028a1..69fbfb5a3a9 100644 --- a/editor/file_system/editor_file_system.cpp +++ b/editor/file_system/editor_file_system.cpp @@ -35,6 +35,7 @@ #include "core/io/dir_access.h" #include "core/io/file_access.h" #include "core/io/resource_saver.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/object/worker_thread_pool.h" #include "core/os/os.h" diff --git a/editor/gui/code_editor.cpp b/editor/gui/code_editor.cpp index 3b99d3b4367..13a4381f00b 100644 --- a/editor/gui/code_editor.cpp +++ b/editor/gui/code_editor.cpp @@ -31,6 +31,7 @@ #include "code_editor.h" #include "core/input/input.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "core/string/string_builder.h" diff --git a/editor/gui/create_dialog.cpp b/editor/gui/create_dialog.cpp index d28da5e7b88..22efd422e40 100644 --- a/editor/gui/create_dialog.cpp +++ b/editor/gui/create_dialog.cpp @@ -31,6 +31,7 @@ #include "create_dialog.h" #include "core/io/resource_loader.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/doc/editor_help.h" #include "editor/editor_node.h" diff --git a/editor/gui/credits_roll.cpp b/editor/gui/credits_roll.cpp index 8a7ca745382..c2f9b681c5a 100644 --- a/editor/gui/credits_roll.cpp +++ b/editor/gui/credits_roll.cpp @@ -34,7 +34,7 @@ #include "core/donors.gen.h" #include "core/input/input.h" #include "core/license.gen.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "core/string/string_builder.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" diff --git a/editor/gui/directory_create_dialog.cpp b/editor/gui/directory_create_dialog.cpp index f56cda8b54c..d5ce82187a6 100644 --- a/editor/gui/directory_create_dialog.cpp +++ b/editor/gui/directory_create_dialog.cpp @@ -31,6 +31,7 @@ #include "directory_create_dialog.h" #include "core/io/dir_access.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "editor/gui/editor_validation_panel.h" #include "editor/themes/editor_scale.h" diff --git a/editor/gui/editor_about.cpp b/editor/gui/editor_about.cpp index 717ceba636a..f372ccf90aa 100644 --- a/editor/gui/editor_about.cpp +++ b/editor/gui/editor_about.cpp @@ -33,6 +33,7 @@ #include "core/authors.gen.h" #include "core/donors.gen.h" #include "core/license.gen.h" +#include "core/object/callable_mp.h" #include "core/os/os.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" diff --git a/editor/gui/editor_bottom_panel.cpp b/editor/gui/editor_bottom_panel.cpp index 237982a62d2..8c5f287afb0 100644 --- a/editor/gui/editor_bottom_panel.cpp +++ b/editor/gui/editor_bottom_panel.cpp @@ -30,7 +30,7 @@ #include "editor_bottom_panel.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "editor/debugger/editor_debugger_node.h" #include "editor/docks/editor_dock.h" #include "editor/docks/editor_dock_manager.h" diff --git a/editor/gui/editor_dir_dialog.cpp b/editor/gui/editor_dir_dialog.cpp index 10e9e9ac1d4..475723f61f3 100644 --- a/editor/gui/editor_dir_dialog.cpp +++ b/editor/gui/editor_dir_dialog.cpp @@ -30,6 +30,7 @@ #include "editor_dir_dialog.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/docks/filesystem_dock.h" #include "editor/file_system/editor_file_system.h" diff --git a/editor/gui/editor_object_selector.cpp b/editor/gui/editor_object_selector.cpp index f19119d9f28..2dba594f2b7 100644 --- a/editor/gui/editor_object_selector.cpp +++ b/editor/gui/editor_object_selector.cpp @@ -30,6 +30,7 @@ #include "editor_object_selector.h" +#include "core/object/callable_mp.h" #include "editor/editor_data.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" diff --git a/editor/gui/editor_quick_open_dialog.cpp b/editor/gui/editor_quick_open_dialog.cpp index 841e71a1a4a..e063ac5bc7c 100644 --- a/editor/gui/editor_quick_open_dialog.cpp +++ b/editor/gui/editor_quick_open_dialog.cpp @@ -31,6 +31,7 @@ #include "editor_quick_open_dialog.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "core/string/fuzzy_search.h" diff --git a/editor/gui/editor_spin_slider.cpp b/editor/gui/editor_spin_slider.cpp index e4ddfcc0eba..f0e569d47f8 100644 --- a/editor/gui/editor_spin_slider.cpp +++ b/editor/gui/editor_spin_slider.cpp @@ -33,6 +33,7 @@ #include "core/config/engine.h" #include "core/input/input.h" #include "core/math/expression.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "core/os/os.h" diff --git a/editor/gui/editor_title_bar.cpp b/editor/gui/editor_title_bar.cpp index 5c2ed89eb19..dd84c0a84f6 100644 --- a/editor/gui/editor_title_bar.cpp +++ b/editor/gui/editor_title_bar.cpp @@ -30,7 +30,7 @@ #include "editor_title_bar.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "servers/display/display_server.h" void EditorTitleBar::gui_input(const Ref &p_event) { diff --git a/editor/gui/editor_toaster.cpp b/editor/gui/editor_toaster.cpp index 3acf336c045..68ff49350ba 100644 --- a/editor/gui/editor_toaster.cpp +++ b/editor/gui/editor_toaster.cpp @@ -30,6 +30,7 @@ #include "editor_toaster.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_string_names.h" #include "editor/settings/editor_settings.h" diff --git a/editor/gui/editor_validation_panel.cpp b/editor/gui/editor_validation_panel.cpp index 3a8b7bed48f..7ae0ae2c7ec 100644 --- a/editor/gui/editor_validation_panel.cpp +++ b/editor/gui/editor_validation_panel.cpp @@ -30,7 +30,7 @@ #include "editor_validation_panel.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "editor/editor_string_names.h" #include "editor/themes/editor_scale.h" #include "scene/gui/box_container.h" diff --git a/editor/gui/editor_zoom_widget.cpp b/editor/gui/editor_zoom_widget.cpp index 44be97db121..c7c9b300a29 100644 --- a/editor/gui/editor_zoom_widget.cpp +++ b/editor/gui/editor_zoom_widget.cpp @@ -31,6 +31,7 @@ #include "editor_zoom_widget.h" #include "core/input/input.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "core/string/translation_server.h" diff --git a/editor/gui/progress_dialog.cpp b/editor/gui/progress_dialog.cpp index c7f02f035cd..639ba2e96c1 100644 --- a/editor/gui/progress_dialog.cpp +++ b/editor/gui/progress_dialog.cpp @@ -30,7 +30,7 @@ #include "progress_dialog.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "core/os/os.h" #include "editor/editor_node.h" #include "editor/themes/editor_scale.h" diff --git a/editor/gui/touch_actions_panel.cpp b/editor/gui/touch_actions_panel.cpp index 57cf193919f..d5e78014610 100644 --- a/editor/gui/touch_actions_panel.cpp +++ b/editor/gui/touch_actions_panel.cpp @@ -31,7 +31,7 @@ #include "touch_actions_panel.h" #include "core/input/input.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "editor/editor_string_names.h" #include "editor/settings/editor_settings.h" #include "scene/gui/box_container.h" diff --git a/editor/gui/window_wrapper.cpp b/editor/gui/window_wrapper.cpp index b6bf4e5edf0..07f0f2c9d04 100644 --- a/editor/gui/window_wrapper.cpp +++ b/editor/gui/window_wrapper.cpp @@ -30,6 +30,7 @@ #include "window_wrapper.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" diff --git a/editor/import/3d/scene_import_settings.cpp b/editor/import/3d/scene_import_settings.cpp index fa99487ed78..eff60946b59 100644 --- a/editor/import/3d/scene_import_settings.cpp +++ b/editor/import/3d/scene_import_settings.cpp @@ -31,6 +31,7 @@ #include "scene_import_settings.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" #include "editor/file_system/editor_file_system.h" diff --git a/editor/import/audio_stream_import_settings.cpp b/editor/import/audio_stream_import_settings.cpp index 0bc3a976c53..ab110380463 100644 --- a/editor/import/audio_stream_import_settings.cpp +++ b/editor/import/audio_stream_import_settings.cpp @@ -30,6 +30,7 @@ #include "audio_stream_import_settings.h" +#include "core/object/callable_mp.h" #include "editor/audio/audio_stream_preview.h" #include "editor/editor_string_names.h" #include "editor/file_system/editor_file_system.h" diff --git a/editor/import/dynamic_font_import_settings.cpp b/editor/import/dynamic_font_import_settings.cpp index 1e97553cb74..73c5de94b7f 100644 --- a/editor/import/dynamic_font_import_settings.cpp +++ b/editor/import/dynamic_font_import_settings.cpp @@ -33,6 +33,7 @@ #include "unicode_ranges.inc" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/os/os.h" #include "core/string/translation.h" #include "editor/editor_node.h" diff --git a/editor/import/fbx_importer_manager.cpp b/editor/import/fbx_importer_manager.cpp index b8d35786a46..dcfed306f5e 100644 --- a/editor/import/fbx_importer_manager.cpp +++ b/editor/import/fbx_importer_manager.cpp @@ -31,6 +31,7 @@ #include "fbx_importer_manager.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/os/os.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" diff --git a/editor/import/import_defaults_editor.cpp b/editor/import/import_defaults_editor.cpp index 2cebe0c9823..89abbe27fde 100644 --- a/editor/import/import_defaults_editor.cpp +++ b/editor/import/import_defaults_editor.cpp @@ -32,6 +32,7 @@ #include "core/config/project_settings.h" #include "core/io/resource_importer.h" +#include "core/object/callable_mp.h" #include "editor/inspector/editor_inspector.h" #include "editor/inspector/editor_sectioned_inspector.h" #include "editor/settings/action_map_editor.h" diff --git a/editor/import/resource_importer_shader_file.cpp b/editor/import/resource_importer_shader_file.cpp index 25bd106154c..118eb97edfe 100644 --- a/editor/import/resource_importer_shader_file.cpp +++ b/editor/import/resource_importer_shader_file.cpp @@ -32,6 +32,7 @@ #include "core/io/file_access.h" #include "core/io/resource_saver.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "editor/shader/shader_file_editor_plugin.h" #include "servers/rendering/rendering_device_binds.h" diff --git a/editor/inspector/add_metadata_dialog.cpp b/editor/inspector/add_metadata_dialog.cpp index 161a1c66c54..1c16cec2e8d 100644 --- a/editor/inspector/add_metadata_dialog.cpp +++ b/editor/inspector/add_metadata_dialog.cpp @@ -30,6 +30,7 @@ #include "add_metadata_dialog.h" +#include "core/object/callable_mp.h" #include "editor/gui/editor_validation_panel.h" #include "editor/gui/editor_variant_type_selectors.h" #include "editor/themes/editor_scale.h" diff --git a/editor/inspector/editor_inspector.cpp b/editor/inspector/editor_inspector.cpp index 659b97b5bb2..be32f1808d6 100644 --- a/editor/inspector/editor_inspector.cpp +++ b/editor/inspector/editor_inspector.cpp @@ -32,6 +32,7 @@ #include "editor_inspector.compat.inc" #include "core/input/input.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "core/variant/typed_dictionary.h" diff --git a/editor/inspector/editor_properties.cpp b/editor/inspector/editor_properties.cpp index 5158b271b76..8f5f755689e 100644 --- a/editor/inspector/editor_properties.cpp +++ b/editor/inspector/editor_properties.cpp @@ -33,6 +33,7 @@ #include "core/config/project_settings.h" #include "core/input/input_map.h" #include "core/io/marshalls.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/string/translation_server.h" #include "editor/docks/inspector_dock.h" diff --git a/editor/inspector/editor_properties_array_dict.cpp b/editor/inspector/editor_properties_array_dict.cpp index 043b2128e5a..a55fdefba7b 100644 --- a/editor/inspector/editor_properties_array_dict.cpp +++ b/editor/inspector/editor_properties_array_dict.cpp @@ -32,6 +32,7 @@ #include "core/input/input.h" #include "core/io/marshalls.h" +#include "core/object/callable_mp.h" #include "editor/docks/inspector_dock.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" diff --git a/editor/inspector/editor_properties_vector.cpp b/editor/inspector/editor_properties_vector.cpp index 61e8dac055f..e6fec732119 100644 --- a/editor/inspector/editor_properties_vector.cpp +++ b/editor/inspector/editor_properties_vector.cpp @@ -30,6 +30,7 @@ #include "editor_properties_vector.h" +#include "core/object/callable_mp.h" #include "editor/editor_string_names.h" #include "editor/gui/editor_spin_slider.h" #include "editor/settings/editor_settings.h" diff --git a/editor/inspector/editor_resource_picker.cpp b/editor/inspector/editor_resource_picker.cpp index 7a7d916017b..581717e039e 100644 --- a/editor/inspector/editor_resource_picker.cpp +++ b/editor/inspector/editor_resource_picker.cpp @@ -31,6 +31,7 @@ #include "editor_resource_picker.h" #include "core/input/input.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "editor/audio/audio_stream_preview.h" diff --git a/editor/inspector/editor_resource_preview.cpp b/editor/inspector/editor_resource_preview.cpp index 5c0d95e1314..d3f5b411062 100644 --- a/editor/inspector/editor_resource_preview.cpp +++ b/editor/inspector/editor_resource_preview.cpp @@ -34,6 +34,7 @@ #include "core/io/file_access.h" #include "core/io/resource_loader.h" #include "core/io/resource_saver.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "core/variant/variant_utility.h" diff --git a/editor/inspector/editor_resource_tooltip_plugins.cpp b/editor/inspector/editor_resource_tooltip_plugins.cpp index 20e4ab9fa70..cb16173d22c 100644 --- a/editor/inspector/editor_resource_tooltip_plugins.cpp +++ b/editor/inspector/editor_resource_tooltip_plugins.cpp @@ -30,6 +30,7 @@ #include "editor_resource_tooltip_plugins.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" diff --git a/editor/inspector/editor_sectioned_inspector.cpp b/editor/inspector/editor_sectioned_inspector.cpp index d4a94d91832..5d23bf83ace 100644 --- a/editor/inspector/editor_sectioned_inspector.cpp +++ b/editor/inspector/editor_sectioned_inspector.cpp @@ -30,6 +30,7 @@ #include "editor_sectioned_inspector.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_string_names.h" #include "editor/inspector/editor_inspector.h" diff --git a/editor/inspector/input_event_editor_plugin.cpp b/editor/inspector/input_event_editor_plugin.cpp index 6d3e4da2963..2ff6c88af83 100644 --- a/editor/inspector/input_event_editor_plugin.cpp +++ b/editor/inspector/input_event_editor_plugin.cpp @@ -30,6 +30,7 @@ #include "input_event_editor_plugin.h" +#include "core/object/callable_mp.h" #include "editor/editor_undo_redo_manager.h" #include "editor/settings/event_listener_line_edit.h" #include "editor/settings/input_event_configuration_dialog.h" diff --git a/editor/inspector/multi_node_edit.cpp b/editor/inspector/multi_node_edit.cpp index e65593a565b..2f669b03fe4 100644 --- a/editor/inspector/multi_node_edit.cpp +++ b/editor/inspector/multi_node_edit.cpp @@ -31,6 +31,7 @@ #include "multi_node_edit.h" #include "core/math/math_fieldwise.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_node.h" #include "editor/editor_undo_redo_manager.h" diff --git a/editor/inspector/property_selector.cpp b/editor/inspector/property_selector.cpp index 79ca8ca7b0a..3684005f884 100644 --- a/editor/inspector/property_selector.cpp +++ b/editor/inspector/property_selector.cpp @@ -30,6 +30,7 @@ #include "property_selector.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/doc/editor_help.h" #include "editor/editor_node.h" diff --git a/editor/inspector/sub_viewport_preview_editor_plugin.cpp b/editor/inspector/sub_viewport_preview_editor_plugin.cpp index 5904dc82fb5..9999d176b3b 100644 --- a/editor/inspector/sub_viewport_preview_editor_plugin.cpp +++ b/editor/inspector/sub_viewport_preview_editor_plugin.cpp @@ -30,10 +30,9 @@ #include "sub_viewport_preview_editor_plugin.h" +#include "core/object/callable_mp.h" #include "scene/main/viewport.h" -#include "core/object/callable_method_pointer.h" - bool EditorInspectorPluginSubViewportPreview::can_handle(Object *p_object) { return Object::cast_to(p_object) != nullptr; } diff --git a/editor/inspector/tool_button_editor_plugin.cpp b/editor/inspector/tool_button_editor_plugin.cpp index 1fd66c54130..65ddf43d710 100644 --- a/editor/inspector/tool_button_editor_plugin.cpp +++ b/editor/inspector/tool_button_editor_plugin.cpp @@ -30,7 +30,7 @@ #include "tool_button_editor_plugin.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "editor/inspector/multi_node_edit.h" diff --git a/editor/plugins/editor_plugin.cpp b/editor/plugins/editor_plugin.cpp index 6a4d122422e..70b30b35e29 100644 --- a/editor/plugins/editor_plugin.cpp +++ b/editor/plugins/editor_plugin.cpp @@ -31,6 +31,7 @@ #include "editor_plugin.h" #include "editor_plugin.compat.inc" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/debugger/editor_debugger_node.h" #include "editor/debugger/editor_debugger_plugin.h" diff --git a/editor/plugins/editor_plugin_settings.cpp b/editor/plugins/editor_plugin_settings.cpp index a8b655e8b62..1deaa3e5ebf 100644 --- a/editor/plugins/editor_plugin_settings.cpp +++ b/editor/plugins/editor_plugin_settings.cpp @@ -35,6 +35,7 @@ #include "core/io/config_file.h" #include "core/io/dir_access.h" #include "core/io/file_access.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" #include "editor/themes/editor_scale.h" diff --git a/editor/plugins/plugin_config_dialog.cpp b/editor/plugins/plugin_config_dialog.cpp index 8f279233208..6f3c90f5e02 100644 --- a/editor/plugins/plugin_config_dialog.cpp +++ b/editor/plugins/plugin_config_dialog.cpp @@ -32,6 +32,7 @@ #include "core/io/config_file.h" #include "core/io/dir_access.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/object/script_language.h" #include "editor/editor_node.h" diff --git a/editor/project_manager/engine_update_label.cpp b/editor/project_manager/engine_update_label.cpp index 78cc2a3846f..a48008b1bfc 100644 --- a/editor/project_manager/engine_update_label.cpp +++ b/editor/project_manager/engine_update_label.cpp @@ -31,6 +31,7 @@ #include "engine_update_label.h" #include "core/io/json.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "core/version.h" diff --git a/editor/project_manager/project_dialog.cpp b/editor/project_manager/project_dialog.cpp index 4cc8ffca433..cb20a114756 100644 --- a/editor/project_manager/project_dialog.cpp +++ b/editor/project_manager/project_dialog.cpp @@ -33,6 +33,7 @@ #include "core/config/project_settings.h" #include "core/io/dir_access.h" #include "core/io/zip_io.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "core/version.h" diff --git a/editor/project_manager/project_list.cpp b/editor/project_manager/project_list.cpp index 677c1228e1b..2fb9f4f2ec3 100644 --- a/editor/project_manager/project_list.cpp +++ b/editor/project_manager/project_list.cpp @@ -33,6 +33,7 @@ #include "core/config/project_settings.h" #include "core/input/input.h" #include "core/io/dir_access.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "core/os/time.h" diff --git a/editor/project_manager/project_manager.cpp b/editor/project_manager/project_manager.cpp index 561ad74e9b4..07459871b3f 100644 --- a/editor/project_manager/project_manager.cpp +++ b/editor/project_manager/project_manager.cpp @@ -36,6 +36,7 @@ #include "core/io/config_file.h" #include "core/io/dir_access.h" #include "core/io/file_access.h" +#include "core/object/callable_mp.h" #include "core/os/keyboard.h" #include "core/os/os.h" #include "core/version.h" diff --git a/editor/project_manager/quick_settings_dialog.cpp b/editor/project_manager/quick_settings_dialog.cpp index 30b684cb690..741bd91bd37 100644 --- a/editor/project_manager/quick_settings_dialog.cpp +++ b/editor/project_manager/quick_settings_dialog.cpp @@ -30,6 +30,7 @@ #include "quick_settings_dialog.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/string/translation_server.h" #include "editor/doc/editor_help.h" diff --git a/editor/project_upgrade/project_upgrade_tool.cpp b/editor/project_upgrade/project_upgrade_tool.cpp index 79ba9afe00d..9324c8a0079 100644 --- a/editor/project_upgrade/project_upgrade_tool.cpp +++ b/editor/project_upgrade/project_upgrade_tool.cpp @@ -32,6 +32,7 @@ #include "core/config/project_settings.h" #include "core/io/dir_access.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_node.h" #include "editor/file_system/editor_file_system.h" diff --git a/editor/run/editor_run_bar.cpp b/editor/run/editor_run_bar.cpp index c61b8b5ebd7..e2967d4b2da 100644 --- a/editor/run/editor_run_bar.cpp +++ b/editor/run/editor_run_bar.cpp @@ -32,6 +32,7 @@ #include "core/config/engine.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/debugger/editor_debugger_node.h" #include "editor/debugger/script_editor_debugger.h" diff --git a/editor/run/editor_run_native.cpp b/editor/run/editor_run_native.cpp index 2c99d66ce06..e9b506e7d21 100644 --- a/editor/run/editor_run_native.cpp +++ b/editor/run/editor_run_native.cpp @@ -30,6 +30,7 @@ #include "editor_run_native.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_node.h" #include "editor/export/editor_export.h" diff --git a/editor/run/embedded_process.cpp b/editor/run/embedded_process.cpp index 377c967d957..9caac4c56ab 100644 --- a/editor/run/embedded_process.cpp +++ b/editor/run/embedded_process.cpp @@ -32,6 +32,7 @@ #include "core/config/project_settings.h" #include "core/input/input.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "editor/editor_string_names.h" diff --git a/editor/run/game_view_plugin.cpp b/editor/run/game_view_plugin.cpp index a556249992a..4f1f773d981 100644 --- a/editor/run/game_view_plugin.cpp +++ b/editor/run/game_view_plugin.cpp @@ -32,6 +32,7 @@ #include "core/config/project_settings.h" #include "core/debugger/debugger_marshalls.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/process_id.h" #include "core/string/translation_server.h" diff --git a/editor/run/run_instances_dialog.cpp b/editor/run/run_instances_dialog.cpp index 645c521d48d..41b62173792 100644 --- a/editor/run/run_instances_dialog.cpp +++ b/editor/run/run_instances_dialog.cpp @@ -31,6 +31,7 @@ #include "run_instances_dialog.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/os/os.h" #include "editor/settings/editor_settings.h" #include "editor/themes/editor_scale.h" diff --git a/editor/scene/2d/abstract_polygon_2d_editor.cpp b/editor/scene/2d/abstract_polygon_2d_editor.cpp index 5a6994f1923..f4567876e01 100644 --- a/editor/scene/2d/abstract_polygon_2d_editor.cpp +++ b/editor/scene/2d/abstract_polygon_2d_editor.cpp @@ -31,6 +31,7 @@ #include "abstract_polygon_2d_editor.h" #include "core/math/geometry_2d.h" +#include "core/object/callable_mp.h" #include "core/os/keyboard.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" diff --git a/editor/scene/2d/camera_2d_editor_plugin.cpp b/editor/scene/2d/camera_2d_editor_plugin.cpp index 7aae3fb1420..400f7047186 100644 --- a/editor/scene/2d/camera_2d_editor_plugin.cpp +++ b/editor/scene/2d/camera_2d_editor_plugin.cpp @@ -31,6 +31,7 @@ #include "camera_2d_editor_plugin.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_node.h" #include "editor/editor_undo_redo_manager.h" diff --git a/editor/scene/2d/parallax_background_editor_plugin.cpp b/editor/scene/2d/parallax_background_editor_plugin.cpp index f079bef8f55..c1d315e27d9 100644 --- a/editor/scene/2d/parallax_background_editor_plugin.cpp +++ b/editor/scene/2d/parallax_background_editor_plugin.cpp @@ -30,6 +30,7 @@ #include "parallax_background_editor_plugin.h" +#include "core/object/callable_mp.h" #include "editor/docks/scene_tree_dock.h" #include "editor/editor_node.h" #include "editor/editor_undo_redo_manager.h" diff --git a/editor/scene/2d/particles_2d_editor_plugin.cpp b/editor/scene/2d/particles_2d_editor_plugin.cpp index 789bbd2bda1..7a3c2ef8c5a 100644 --- a/editor/scene/2d/particles_2d_editor_plugin.cpp +++ b/editor/scene/2d/particles_2d_editor_plugin.cpp @@ -31,6 +31,7 @@ #include "particles_2d_editor_plugin.h" #include "core/io/image_loader.h" +#include "core/object/callable_mp.h" #include "core/os/os.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" diff --git a/editor/scene/2d/path_2d_editor_plugin.cpp b/editor/scene/2d/path_2d_editor_plugin.cpp index 53db1b7b1d7..01705379116 100644 --- a/editor/scene/2d/path_2d_editor_plugin.cpp +++ b/editor/scene/2d/path_2d_editor_plugin.cpp @@ -30,6 +30,7 @@ #include "path_2d_editor_plugin.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "editor/editor_node.h" diff --git a/editor/scene/2d/physics/cast_2d_editor_plugin.cpp b/editor/scene/2d/physics/cast_2d_editor_plugin.cpp index 79b91a0aadc..e9eab537db6 100644 --- a/editor/scene/2d/physics/cast_2d_editor_plugin.cpp +++ b/editor/scene/2d/physics/cast_2d_editor_plugin.cpp @@ -30,6 +30,7 @@ #include "cast_2d_editor_plugin.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "editor/editor_undo_redo_manager.h" #include "editor/scene/canvas_item_editor_plugin.h" diff --git a/editor/scene/2d/physics/collision_shape_2d_editor_plugin.cpp b/editor/scene/2d/physics/collision_shape_2d_editor_plugin.cpp index bc908a7021f..b05f621f3a7 100644 --- a/editor/scene/2d/physics/collision_shape_2d_editor_plugin.cpp +++ b/editor/scene/2d/physics/collision_shape_2d_editor_plugin.cpp @@ -31,6 +31,7 @@ #include "collision_shape_2d_editor_plugin.h" #include "core/input/input.h" +#include "core/object/callable_mp.h" #include "core/os/keyboard.h" #include "editor/editor_node.h" #include "editor/editor_undo_redo_manager.h" diff --git a/editor/scene/2d/polygon_2d_editor_plugin.cpp b/editor/scene/2d/polygon_2d_editor_plugin.cpp index 9b91a25d5d7..4650faf0d78 100644 --- a/editor/scene/2d/polygon_2d_editor_plugin.cpp +++ b/editor/scene/2d/polygon_2d_editor_plugin.cpp @@ -32,6 +32,7 @@ #include "core/input/input_event.h" #include "core/math/geometry_2d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "editor/docks/editor_dock.h" diff --git a/editor/scene/2d/scene_paint_2d_editor_plugin.cpp b/editor/scene/2d/scene_paint_2d_editor_plugin.cpp index 66c41837848..13d4ee608a1 100644 --- a/editor/scene/2d/scene_paint_2d_editor_plugin.cpp +++ b/editor/scene/2d/scene_paint_2d_editor_plugin.cpp @@ -31,6 +31,7 @@ #include "scene_paint_2d_editor_plugin.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "editor/docks/filesystem_dock.h" #include "editor/docks/inspector_dock.h" #include "editor/docks/scene_tree_dock.h" diff --git a/editor/scene/2d/skeleton_2d_editor_plugin.cpp b/editor/scene/2d/skeleton_2d_editor_plugin.cpp index 10f6621f4be..91b4bad2227 100644 --- a/editor/scene/2d/skeleton_2d_editor_plugin.cpp +++ b/editor/scene/2d/skeleton_2d_editor_plugin.cpp @@ -30,6 +30,7 @@ #include "skeleton_2d_editor_plugin.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" #include "editor/editor_undo_redo_manager.h" diff --git a/editor/scene/2d/sprite_2d_editor_plugin.cpp b/editor/scene/2d/sprite_2d_editor_plugin.cpp index 5bfb610ade0..84af8cead6b 100644 --- a/editor/scene/2d/sprite_2d_editor_plugin.cpp +++ b/editor/scene/2d/sprite_2d_editor_plugin.cpp @@ -31,6 +31,7 @@ #include "sprite_2d_editor_plugin.h" #include "core/math/geometry_2d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/docks/scene_tree_dock.h" #include "editor/editor_node.h" diff --git a/editor/scene/2d/tiles/atlas_merging_dialog.cpp b/editor/scene/2d/tiles/atlas_merging_dialog.cpp index e27e687f06b..0e10b584337 100644 --- a/editor/scene/2d/tiles/atlas_merging_dialog.cpp +++ b/editor/scene/2d/tiles/atlas_merging_dialog.cpp @@ -30,6 +30,7 @@ #include "atlas_merging_dialog.h" +#include "core/object/callable_mp.h" #include "editor/editor_undo_redo_manager.h" #include "editor/gui/editor_file_dialog.h" #include "editor/themes/editor_scale.h" diff --git a/editor/scene/2d/tiles/tile_atlas_view.cpp b/editor/scene/2d/tiles/tile_atlas_view.cpp index 9fdac2ec3fe..0a653795a03 100644 --- a/editor/scene/2d/tiles/tile_atlas_view.cpp +++ b/editor/scene/2d/tiles/tile_atlas_view.cpp @@ -30,6 +30,7 @@ #include "tile_atlas_view.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/settings/editor_settings.h" #include "editor/themes/editor_scale.h" diff --git a/editor/scene/2d/tiles/tile_data_editors.cpp b/editor/scene/2d/tiles/tile_data_editors.cpp index 50a55c71d66..7db36289da6 100644 --- a/editor/scene/2d/tiles/tile_data_editors.cpp +++ b/editor/scene/2d/tiles/tile_data_editors.cpp @@ -34,6 +34,7 @@ #include "core/math/geometry_2d.h" #include "core/math/random_pcg.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" diff --git a/editor/scene/2d/tiles/tile_map_layer_editor.cpp b/editor/scene/2d/tiles/tile_map_layer_editor.cpp index 9fb6367a46f..08d23e4e7ff 100644 --- a/editor/scene/2d/tiles/tile_map_layer_editor.cpp +++ b/editor/scene/2d/tiles/tile_map_layer_editor.cpp @@ -35,6 +35,7 @@ #include "core/input/input.h" #include "core/math/geometry_2d.h" #include "core/math/random_pcg.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "core/os/os.h" diff --git a/editor/scene/2d/tiles/tile_proxies_manager_dialog.cpp b/editor/scene/2d/tiles/tile_proxies_manager_dialog.cpp index 68679ee5569..5d51dfc9622 100644 --- a/editor/scene/2d/tiles/tile_proxies_manager_dialog.cpp +++ b/editor/scene/2d/tiles/tile_proxies_manager_dialog.cpp @@ -30,6 +30,7 @@ #include "tile_proxies_manager_dialog.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_undo_redo_manager.h" #include "editor/inspector/editor_properties_vector.h" diff --git a/editor/scene/2d/tiles/tile_set_atlas_source_editor.cpp b/editor/scene/2d/tiles/tile_set_atlas_source_editor.cpp index 3ddf8335963..2684b1d5e80 100644 --- a/editor/scene/2d/tiles/tile_set_atlas_source_editor.cpp +++ b/editor/scene/2d/tiles/tile_set_atlas_source_editor.cpp @@ -32,6 +32,7 @@ #include "tiles_editor_plugin.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" diff --git a/editor/scene/2d/tiles/tile_set_editor.cpp b/editor/scene/2d/tiles/tile_set_editor.cpp index 9dd71bab14f..101891326d5 100644 --- a/editor/scene/2d/tiles/tile_set_editor.cpp +++ b/editor/scene/2d/tiles/tile_set_editor.cpp @@ -33,6 +33,7 @@ #include "tile_data_editors.h" #include "tiles_editor_plugin.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "editor/editor_undo_redo_manager.h" #include "editor/file_system/editor_file_system.h" diff --git a/editor/scene/2d/tiles/tile_set_scenes_collection_source_editor.cpp b/editor/scene/2d/tiles/tile_set_scenes_collection_source_editor.cpp index cc7f1bb224a..f3862a1387f 100644 --- a/editor/scene/2d/tiles/tile_set_scenes_collection_source_editor.cpp +++ b/editor/scene/2d/tiles/tile_set_scenes_collection_source_editor.cpp @@ -30,6 +30,7 @@ #include "tile_set_scenes_collection_source_editor.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_node.h" #include "editor/editor_undo_redo_manager.h" diff --git a/editor/scene/2d/tiles/tiles_editor_plugin.cpp b/editor/scene/2d/tiles/tiles_editor_plugin.cpp index 83aec5f8d3c..9e570091970 100644 --- a/editor/scene/2d/tiles/tiles_editor_plugin.cpp +++ b/editor/scene/2d/tiles/tiles_editor_plugin.cpp @@ -32,6 +32,7 @@ #include "tile_set_editor.h" +#include "core/object/callable_mp.h" #include "core/os/mutex.h" #include "core/os/os.h" #include "editor/docks/editor_dock_manager.h" diff --git a/editor/scene/3d/bone_map_editor_plugin.cpp b/editor/scene/3d/bone_map_editor_plugin.cpp index 5d4ab4d99d9..7779098c876 100644 --- a/editor/scene/3d/bone_map_editor_plugin.cpp +++ b/editor/scene/3d/bone_map_editor_plugin.cpp @@ -30,6 +30,7 @@ #include "bone_map_editor_plugin.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/import/3d/post_import_plugin_skeleton_renamer.h" #include "editor/import/3d/post_import_plugin_skeleton_rest_fixer.h" diff --git a/editor/scene/3d/camera_3d_editor_plugin.cpp b/editor/scene/3d/camera_3d_editor_plugin.cpp index 5f612009162..d5b10fdb27a 100644 --- a/editor/scene/3d/camera_3d_editor_plugin.cpp +++ b/editor/scene/3d/camera_3d_editor_plugin.cpp @@ -31,6 +31,7 @@ #include "camera_3d_editor_plugin.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "node_3d_editor_plugin.h" #include "scene/gui/aspect_ratio_container.h" diff --git a/editor/scene/3d/gizmos/physics/joint_3d_gizmo_plugin.cpp b/editor/scene/3d/gizmos/physics/joint_3d_gizmo_plugin.cpp index c9906b73d88..e186ffa99f5 100644 --- a/editor/scene/3d/gizmos/physics/joint_3d_gizmo_plugin.cpp +++ b/editor/scene/3d/gizmos/physics/joint_3d_gizmo_plugin.cpp @@ -30,7 +30,7 @@ #include "joint_3d_gizmo_plugin.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "editor/settings/editor_settings.h" #include "scene/3d/physics/joints/cone_twist_joint_3d.h" diff --git a/editor/scene/3d/gpu_particles_collision_sdf_editor_plugin.cpp b/editor/scene/3d/gpu_particles_collision_sdf_editor_plugin.cpp index f32e31b1089..48903e65404 100644 --- a/editor/scene/3d/gpu_particles_collision_sdf_editor_plugin.cpp +++ b/editor/scene/3d/gpu_particles_collision_sdf_editor_plugin.cpp @@ -30,6 +30,7 @@ #include "gpu_particles_collision_sdf_editor_plugin.h" +#include "core/object/callable_mp.h" #include "editor/editor_interface.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" diff --git a/editor/scene/3d/lightmap_gi_editor_plugin.cpp b/editor/scene/3d/lightmap_gi_editor_plugin.cpp index 79cec706ca6..27547779f76 100644 --- a/editor/scene/3d/lightmap_gi_editor_plugin.cpp +++ b/editor/scene/3d/lightmap_gi_editor_plugin.cpp @@ -30,6 +30,7 @@ #include "lightmap_gi_editor_plugin.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "editor/editor_node.h" diff --git a/editor/scene/3d/mesh_editor_plugin.cpp b/editor/scene/3d/mesh_editor_plugin.cpp index 53f26866673..8bac7ea3b46 100644 --- a/editor/scene/3d/mesh_editor_plugin.cpp +++ b/editor/scene/3d/mesh_editor_plugin.cpp @@ -31,7 +31,7 @@ #include "mesh_editor_plugin.h" #include "core/config/project_settings.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "editor/themes/editor_scale.h" #include "scene/gui/button.h" diff --git a/editor/scene/3d/mesh_instance_3d_editor_plugin.cpp b/editor/scene/3d/mesh_instance_3d_editor_plugin.cpp index a1efa2a20af..18a53829c80 100644 --- a/editor/scene/3d/mesh_instance_3d_editor_plugin.cpp +++ b/editor/scene/3d/mesh_instance_3d_editor_plugin.cpp @@ -30,6 +30,7 @@ #include "mesh_instance_3d_editor_plugin.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" #include "editor/editor_undo_redo_manager.h" diff --git a/editor/scene/3d/mesh_library_editor_plugin.cpp b/editor/scene/3d/mesh_library_editor_plugin.cpp index a4f92aed1ea..3c65a0e6088 100644 --- a/editor/scene/3d/mesh_library_editor_plugin.cpp +++ b/editor/scene/3d/mesh_library_editor_plugin.cpp @@ -30,6 +30,7 @@ #include "mesh_library_editor_plugin.h" +#include "core/object/callable_mp.h" #include "editor/docks/inspector_dock.h" #include "editor/editor_interface.h" #include "editor/editor_node.h" diff --git a/editor/scene/3d/multimesh_editor_plugin.cpp b/editor/scene/3d/multimesh_editor_plugin.cpp index c5c57d22bef..f6b832cfdd0 100644 --- a/editor/scene/3d/multimesh_editor_plugin.cpp +++ b/editor/scene/3d/multimesh_editor_plugin.cpp @@ -30,6 +30,7 @@ #include "multimesh_editor_plugin.h" +#include "core/object/callable_mp.h" #include "core/templates/rb_map.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" diff --git a/editor/scene/3d/node_3d_editor_plugin.cpp b/editor/scene/3d/node_3d_editor_plugin.cpp index dc43dae6d5a..f6e01f69205 100644 --- a/editor/scene/3d/node_3d_editor_plugin.cpp +++ b/editor/scene/3d/node_3d_editor_plugin.cpp @@ -36,6 +36,7 @@ #include "core/math/geometry_3d.h" #include "core/math/math_funcs.h" #include "core/math/projection.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "core/os/os.h" diff --git a/editor/scene/3d/occluder_instance_3d_editor_plugin.cpp b/editor/scene/3d/occluder_instance_3d_editor_plugin.cpp index c444d62c172..b8cb563fadd 100644 --- a/editor/scene/3d/occluder_instance_3d_editor_plugin.cpp +++ b/editor/scene/3d/occluder_instance_3d_editor_plugin.cpp @@ -30,6 +30,7 @@ #include "occluder_instance_3d_editor_plugin.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" diff --git a/editor/scene/3d/particles_3d_editor_plugin.cpp b/editor/scene/3d/particles_3d_editor_plugin.cpp index c3d76523d0f..32f6288576b 100644 --- a/editor/scene/3d/particles_3d_editor_plugin.cpp +++ b/editor/scene/3d/particles_3d_editor_plugin.cpp @@ -30,6 +30,7 @@ #include "particles_3d_editor_plugin.h" +#include "core/object/callable_mp.h" #include "core/os/os.h" #include "editor/editor_node.h" #include "editor/editor_undo_redo_manager.h" diff --git a/editor/scene/3d/path_3d_editor_plugin.cpp b/editor/scene/3d/path_3d_editor_plugin.cpp index 7d437c08fab..1b2b2405431 100644 --- a/editor/scene/3d/path_3d_editor_plugin.cpp +++ b/editor/scene/3d/path_3d_editor_plugin.cpp @@ -32,6 +32,7 @@ #include "core/math/geometry_2d.h" #include "core/math/geometry_3d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "editor/editor_node.h" diff --git a/editor/scene/3d/physics/physical_bone_3d_editor_plugin.cpp b/editor/scene/3d/physics/physical_bone_3d_editor_plugin.cpp index 84348f724d1..89a890aaace 100644 --- a/editor/scene/3d/physics/physical_bone_3d_editor_plugin.cpp +++ b/editor/scene/3d/physics/physical_bone_3d_editor_plugin.cpp @@ -30,6 +30,7 @@ #include "physical_bone_3d_editor_plugin.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" #include "editor/scene/3d/node_3d_editor_plugin.h" diff --git a/editor/scene/3d/polygon_3d_editor_plugin.cpp b/editor/scene/3d/polygon_3d_editor_plugin.cpp index 4a5d357b1a0..af11024f6cb 100644 --- a/editor/scene/3d/polygon_3d_editor_plugin.cpp +++ b/editor/scene/3d/polygon_3d_editor_plugin.cpp @@ -32,6 +32,7 @@ #include "core/input/input.h" #include "core/math/geometry_2d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "editor/editor_node.h" diff --git a/editor/scene/3d/root_motion_editor_plugin.cpp b/editor/scene/3d/root_motion_editor_plugin.cpp index c6f1f45ac3c..8cf69cb5cfc 100644 --- a/editor/scene/3d/root_motion_editor_plugin.cpp +++ b/editor/scene/3d/root_motion_editor_plugin.cpp @@ -30,6 +30,7 @@ #include "root_motion_editor_plugin.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "editor/themes/editor_scale.h" #include "scene/3d/skeleton_3d.h" diff --git a/editor/scene/3d/skeleton_3d_editor_plugin.cpp b/editor/scene/3d/skeleton_3d_editor_plugin.cpp index 6c9635bccd7..3f65eb86a71 100644 --- a/editor/scene/3d/skeleton_3d_editor_plugin.cpp +++ b/editor/scene/3d/skeleton_3d_editor_plugin.cpp @@ -31,6 +31,7 @@ #include "skeleton_3d_editor_plugin.h" #include "core/io/resource_saver.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/animation/animation_player_editor_plugin.h" #include "editor/editor_node.h" diff --git a/editor/scene/3d/skeleton_ik_3d_editor_plugin.cpp b/editor/scene/3d/skeleton_ik_3d_editor_plugin.cpp index fca19af0740..8811b5ca5f3 100644 --- a/editor/scene/3d/skeleton_ik_3d_editor_plugin.cpp +++ b/editor/scene/3d/skeleton_ik_3d_editor_plugin.cpp @@ -30,7 +30,7 @@ #include "skeleton_ik_3d_editor_plugin.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" #include "scene/3d/skeleton_ik_3d.h" diff --git a/editor/scene/3d/voxel_gi_editor_plugin.cpp b/editor/scene/3d/voxel_gi_editor_plugin.cpp index 72e9e54f3e0..e3eeda9bcfc 100644 --- a/editor/scene/3d/voxel_gi_editor_plugin.cpp +++ b/editor/scene/3d/voxel_gi_editor_plugin.cpp @@ -32,6 +32,7 @@ #include "core/io/resource_loader.h" #include "core/io/resource_saver.h" +#include "core/object/callable_mp.h" #include "editor/editor_interface.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" diff --git a/editor/scene/canvas_item_editor_plugin.cpp b/editor/scene/canvas_item_editor_plugin.cpp index ac20cba4dae..ab1b9252950 100644 --- a/editor/scene/canvas_item_editor_plugin.cpp +++ b/editor/scene/canvas_item_editor_plugin.cpp @@ -33,6 +33,7 @@ #include "core/config/engine.h" #include "core/config/project_settings.h" #include "core/input/input.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "core/string/translation_server.h" diff --git a/editor/scene/connections_dialog.cpp b/editor/scene/connections_dialog.cpp index 476a5d1dd11..137aaf362b3 100644 --- a/editor/scene/connections_dialog.cpp +++ b/editor/scene/connections_dialog.cpp @@ -31,6 +31,7 @@ #include "connections_dialog.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/templates/hash_set.h" #include "editor/doc/editor_help.h" diff --git a/editor/scene/curve_editor_plugin.cpp b/editor/scene/curve_editor_plugin.cpp index 4ab84b87e2f..7d689e6e8aa 100644 --- a/editor/scene/curve_editor_plugin.cpp +++ b/editor/scene/curve_editor_plugin.cpp @@ -33,6 +33,7 @@ #include "canvas_item_editor_plugin.h" #include "core/input/input.h" #include "core/math/geometry_2d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "editor/editor_interface.h" diff --git a/editor/scene/editor_scene_tabs.cpp b/editor/scene/editor_scene_tabs.cpp index 991895d21a1..cc712258a64 100644 --- a/editor/scene/editor_scene_tabs.cpp +++ b/editor/scene/editor_scene_tabs.cpp @@ -32,6 +32,7 @@ #include "core/config/project_settings.h" #include "core/io/resource_loader.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "editor/docks/inspector_dock.h" diff --git a/editor/scene/gradient_editor_plugin.cpp b/editor/scene/gradient_editor_plugin.cpp index 23ffb621c1d..66dc7276c84 100644 --- a/editor/scene/gradient_editor_plugin.cpp +++ b/editor/scene/gradient_editor_plugin.cpp @@ -31,6 +31,7 @@ #include "gradient_editor_plugin.h" #include "core/input/input.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "editor/editor_node.h" diff --git a/editor/scene/group_settings_editor.cpp b/editor/scene/group_settings_editor.cpp index 845977636e1..ff2b981abe2 100644 --- a/editor/scene/group_settings_editor.cpp +++ b/editor/scene/group_settings_editor.cpp @@ -31,6 +31,7 @@ #include "group_settings_editor.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/docks/filesystem_dock.h" #include "editor/docks/scene_tree_dock.h" diff --git a/editor/scene/gui/control_editor_plugin.cpp b/editor/scene/gui/control_editor_plugin.cpp index 6c871418a7b..223c6ce1f09 100644 --- a/editor/scene/gui/control_editor_plugin.cpp +++ b/editor/scene/gui/control_editor_plugin.cpp @@ -30,6 +30,7 @@ #include "control_editor_plugin.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_node.h" #include "editor/editor_undo_redo_manager.h" diff --git a/editor/scene/gui/font_config_plugin.cpp b/editor/scene/gui/font_config_plugin.cpp index f19cba091e0..ccb02f474d5 100644 --- a/editor/scene/gui/font_config_plugin.cpp +++ b/editor/scene/gui/font_config_plugin.cpp @@ -30,6 +30,7 @@ #include "font_config_plugin.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "core/string/translation_server.h" diff --git a/editor/scene/gui/margin_container_editor_plugin.cpp b/editor/scene/gui/margin_container_editor_plugin.cpp index bc86b026c1c..c25d04b6afa 100644 --- a/editor/scene/gui/margin_container_editor_plugin.cpp +++ b/editor/scene/gui/margin_container_editor_plugin.cpp @@ -30,7 +30,7 @@ #include "margin_container_editor_plugin.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "editor/scene/canvas_item_editor_plugin.h" #include "editor/themes/editor_scale.h" diff --git a/editor/scene/gui/style_box_editor_plugin.cpp b/editor/scene/gui/style_box_editor_plugin.cpp index 209316c9ae3..72ca1af3a19 100644 --- a/editor/scene/gui/style_box_editor_plugin.cpp +++ b/editor/scene/gui/style_box_editor_plugin.cpp @@ -30,7 +30,7 @@ #include "style_box_editor_plugin.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "editor/themes/editor_scale.h" #include "scene/gui/button.h" #include "scene/resources/style_box_texture.h" diff --git a/editor/scene/gui/theme_editor_plugin.cpp b/editor/scene/gui/theme_editor_plugin.cpp index 10dcfc4dd31..4770d656d42 100644 --- a/editor/scene/gui/theme_editor_plugin.cpp +++ b/editor/scene/gui/theme_editor_plugin.cpp @@ -30,6 +30,7 @@ #include "theme_editor_plugin.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/doc/editor_help.h" #include "editor/docks/editor_dock_manager.h" diff --git a/editor/scene/gui/theme_editor_preview.cpp b/editor/scene/gui/theme_editor_preview.cpp index 152eda8b258..d4392f124aa 100644 --- a/editor/scene/gui/theme_editor_preview.cpp +++ b/editor/scene/gui/theme_editor_preview.cpp @@ -31,6 +31,7 @@ #include "theme_editor_preview.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" diff --git a/editor/scene/gui/virtual_joystick_editor_plugin.cpp b/editor/scene/gui/virtual_joystick_editor_plugin.cpp index 1f1f21bc622..3c3f7a5a3d9 100644 --- a/editor/scene/gui/virtual_joystick_editor_plugin.cpp +++ b/editor/scene/gui/virtual_joystick_editor_plugin.cpp @@ -30,7 +30,7 @@ #include "virtual_joystick_editor_plugin.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "editor/scene/canvas_item_editor_plugin.h" #include "editor/themes/editor_scale.h" #include "scene/gui/virtual_joystick.h" diff --git a/editor/scene/material_editor_plugin.cpp b/editor/scene/material_editor_plugin.cpp index 9f4559f4435..1d6e593e2f8 100644 --- a/editor/scene/material_editor_plugin.cpp +++ b/editor/scene/material_editor_plugin.cpp @@ -31,6 +31,7 @@ #include "material_editor_plugin.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" #include "editor/editor_undo_redo_manager.h" diff --git a/editor/scene/packed_scene_editor_plugin.cpp b/editor/scene/packed_scene_editor_plugin.cpp index 497a168588e..e96ee2ffb57 100644 --- a/editor/scene/packed_scene_editor_plugin.cpp +++ b/editor/scene/packed_scene_editor_plugin.cpp @@ -30,7 +30,7 @@ #include "packed_scene_editor_plugin.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "scene/resources/packed_scene.h" diff --git a/editor/scene/particle_process_material_editor_plugin.cpp b/editor/scene/particle_process_material_editor_plugin.cpp index cd06fbb4877..b5dc75870ec 100644 --- a/editor/scene/particle_process_material_editor_plugin.cpp +++ b/editor/scene/particle_process_material_editor_plugin.cpp @@ -30,6 +30,7 @@ #include "particle_process_material_editor_plugin.h" +#include "core/object/callable_mp.h" #include "editor/editor_string_names.h" #include "editor/gui/editor_spin_slider.h" #include "editor/settings/editor_settings.h" diff --git a/editor/scene/particles_editor_plugin.cpp b/editor/scene/particles_editor_plugin.cpp index b2815b0072a..5f17b5c0cfa 100644 --- a/editor/scene/particles_editor_plugin.cpp +++ b/editor/scene/particles_editor_plugin.cpp @@ -30,6 +30,7 @@ #include "particles_editor_plugin.h" +#include "core/object/callable_mp.h" #include "editor/docks/scene_tree_dock.h" #include "editor/editor_undo_redo_manager.h" #include "editor/settings/editor_settings.h" diff --git a/editor/scene/rename_dialog.cpp b/editor/scene/rename_dialog.cpp index e90d98e08e8..b45fe856591 100644 --- a/editor/scene/rename_dialog.cpp +++ b/editor/scene/rename_dialog.cpp @@ -30,6 +30,7 @@ #include "rename_dialog.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" diff --git a/editor/scene/reparent_dialog.cpp b/editor/scene/reparent_dialog.cpp index 06ddd150384..07475df5420 100644 --- a/editor/scene/reparent_dialog.cpp +++ b/editor/scene/reparent_dialog.cpp @@ -30,6 +30,7 @@ #include "reparent_dialog.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/scene/scene_tree_editor.h" #include "scene/gui/box_container.h" diff --git a/editor/scene/resource_preloader_editor_plugin.cpp b/editor/scene/resource_preloader_editor_plugin.cpp index 5f5b71849a4..dda2c1d9442 100644 --- a/editor/scene/resource_preloader_editor_plugin.cpp +++ b/editor/scene/resource_preloader_editor_plugin.cpp @@ -31,6 +31,7 @@ #include "resource_preloader_editor_plugin.h" #include "core/io/resource_loader.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/docks/editor_dock_manager.h" #include "editor/editor_interface.h" diff --git a/editor/scene/scene_create_dialog.cpp b/editor/scene/scene_create_dialog.cpp index 9d1289f66f3..4ab9ab2ed79 100644 --- a/editor/scene/scene_create_dialog.cpp +++ b/editor/scene/scene_create_dialog.cpp @@ -32,6 +32,7 @@ #include "core/io/dir_access.h" #include "core/io/resource_saver.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" #include "editor/gui/create_dialog.h" diff --git a/editor/scene/scene_tree_editor.cpp b/editor/scene/scene_tree_editor.cpp index 1cb1a07051f..3ff213a42e4 100644 --- a/editor/scene/scene_tree_editor.cpp +++ b/editor/scene/scene_tree_editor.cpp @@ -32,6 +32,7 @@ #include "core/config/engine.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/object/script_language.h" #include "editor/animation/animation_player_editor_plugin.h" diff --git a/editor/scene/scene_tree_editor.h b/editor/scene/scene_tree_editor.h index 1cf5dc0c377..cc8ea568b2c 100644 --- a/editor/scene/scene_tree_editor.h +++ b/editor/scene/scene_tree_editor.h @@ -228,7 +228,7 @@ class SceneTreeEditor : public Control { void _revoke_unique_name(); public: - // Public for use with callable_mp. + // Public for use as signal callback. void _update_tree(bool p_scroll_to_selected = false); void rename_node(Node *p_node, const String &p_name, TreeItem *p_item = nullptr); diff --git a/editor/scene/sprite_frames_editor_plugin.cpp b/editor/scene/sprite_frames_editor_plugin.cpp index 7e3409d9f6b..051165b90a0 100644 --- a/editor/scene/sprite_frames_editor_plugin.cpp +++ b/editor/scene/sprite_frames_editor_plugin.cpp @@ -32,6 +32,7 @@ #include "core/input/input.h" #include "core/io/resource_loader.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "core/string/translation_server.h" diff --git a/editor/scene/texture/bit_map_editor_plugin.cpp b/editor/scene/texture/bit_map_editor_plugin.cpp index 19fa26b024d..ae2e5451301 100644 --- a/editor/scene/texture/bit_map_editor_plugin.cpp +++ b/editor/scene/texture/bit_map_editor_plugin.cpp @@ -30,7 +30,7 @@ #include "bit_map_editor_plugin.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "editor/editor_string_names.h" #include "editor/themes/editor_scale.h" #include "scene/gui/aspect_ratio_container.h" diff --git a/editor/scene/texture/color_channel_selector.cpp b/editor/scene/texture/color_channel_selector.cpp index c9b2175a8ed..82ac2ee38a7 100644 --- a/editor/scene/texture/color_channel_selector.cpp +++ b/editor/scene/texture/color_channel_selector.cpp @@ -30,6 +30,7 @@ #include "color_channel_selector.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/themes/editor_scale.h" #include "scene/gui/box_container.h" diff --git a/editor/scene/texture/gradient_texture_2d_editor_plugin.cpp b/editor/scene/texture/gradient_texture_2d_editor_plugin.cpp index 2ef1cd42c5b..995a759e76e 100644 --- a/editor/scene/texture/gradient_texture_2d_editor_plugin.cpp +++ b/editor/scene/texture/gradient_texture_2d_editor_plugin.cpp @@ -31,6 +31,7 @@ #include "gradient_texture_2d_editor_plugin.h" #include "core/input/input.h" +#include "core/object/callable_mp.h" #include "editor/editor_undo_redo_manager.h" #include "editor/gui/editor_spin_slider.h" #include "editor/themes/editor_scale.h" diff --git a/editor/scene/texture/texture_3d_editor_plugin.cpp b/editor/scene/texture/texture_3d_editor_plugin.cpp index da34d90db2e..b2ab6c78e00 100644 --- a/editor/scene/texture/texture_3d_editor_plugin.cpp +++ b/editor/scene/texture/texture_3d_editor_plugin.cpp @@ -30,6 +30,7 @@ #include "texture_3d_editor_plugin.h" +#include "core/object/callable_mp.h" #include "editor/editor_string_names.h" #include "editor/scene/texture/color_channel_selector.h" #include "editor/themes/editor_scale.h" diff --git a/editor/scene/texture/texture_editor_plugin.cpp b/editor/scene/texture/texture_editor_plugin.cpp index c64a4d3b84b..701ba37812a 100644 --- a/editor/scene/texture/texture_editor_plugin.cpp +++ b/editor/scene/texture/texture_editor_plugin.cpp @@ -30,6 +30,7 @@ #include "texture_editor_plugin.h" +#include "core/object/callable_mp.h" #include "editor/editor_string_names.h" #include "editor/scene/texture/color_channel_selector.h" #include "editor/themes/editor_scale.h" diff --git a/editor/scene/texture/texture_layered_editor_plugin.cpp b/editor/scene/texture/texture_layered_editor_plugin.cpp index cd6ea2a0795..3c2d6fbb311 100644 --- a/editor/scene/texture/texture_layered_editor_plugin.cpp +++ b/editor/scene/texture/texture_layered_editor_plugin.cpp @@ -31,6 +31,7 @@ #include "texture_layered_editor_plugin.h" #include "core/input/input.h" +#include "core/object/callable_mp.h" #include "editor/editor_string_names.h" #include "editor/scene/texture/color_channel_selector.h" #include "editor/themes/editor_scale.h" diff --git a/editor/scene/texture/texture_region_editor_plugin.cpp b/editor/scene/texture/texture_region_editor_plugin.cpp index 265d0b5de5a..3ec4e2fab16 100644 --- a/editor/scene/texture/texture_region_editor_plugin.cpp +++ b/editor/scene/texture/texture_region_editor_plugin.cpp @@ -31,6 +31,7 @@ #include "texture_region_editor_plugin.h" #include "core/input/input.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "editor/editor_node.h" diff --git a/editor/script/editor_script_plugin.cpp b/editor/script/editor_script_plugin.cpp index e50fe6db101..11ffda49b4b 100644 --- a/editor/script/editor_script_plugin.cpp +++ b/editor/script/editor_script_plugin.cpp @@ -31,6 +31,7 @@ #include "editor_script_plugin.h" #include "core/io/resource_loader.h" +#include "core/object/callable_mp.h" #include "editor/editor_interface.h" #include "editor/script/editor_script.h" #include "editor/settings/editor_command_palette.h" diff --git a/editor/script/find_in_files.cpp b/editor/script/find_in_files.cpp index 6b9af88bc03..afe0f05039c 100644 --- a/editor/script/find_in_files.cpp +++ b/editor/script/find_in_files.cpp @@ -32,6 +32,7 @@ #include "core/config/project_settings.h" #include "core/io/dir_access.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "editor/editor_node.h" diff --git a/editor/script/script_create_dialog.cpp b/editor/script/script_create_dialog.cpp index e69fd72896c..85c83ee523d 100644 --- a/editor/script/script_create_dialog.cpp +++ b/editor/script/script_create_dialog.cpp @@ -33,6 +33,7 @@ #include "core/config/project_settings.h" #include "core/io/file_access.h" #include "core/io/resource_saver.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" diff --git a/editor/script/script_editor_base.cpp b/editor/script/script_editor_base.cpp index 7eeb842a102..bf2a41aa75a 100644 --- a/editor/script/script_editor_base.cpp +++ b/editor/script/script_editor_base.cpp @@ -31,6 +31,7 @@ #include "script_editor_base.h" #include "core/io/json.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_node.h" #include "editor/script/script_editor_plugin.h" diff --git a/editor/script/script_editor_plugin.cpp b/editor/script/script_editor_plugin.cpp index 5838169c46b..d51b0776815 100644 --- a/editor/script/script_editor_plugin.cpp +++ b/editor/script/script_editor_plugin.cpp @@ -36,6 +36,7 @@ #include "core/io/file_access.h" #include "core/io/json.h" #include "core/io/resource_loader.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "core/os/os.h" diff --git a/editor/script/script_text_editor.cpp b/editor/script/script_text_editor.cpp index 27aa476019b..fac2a90e075 100644 --- a/editor/script/script_text_editor.cpp +++ b/editor/script/script_text_editor.cpp @@ -35,6 +35,7 @@ #include "core/io/dir_access.h" #include "core/io/json.h" #include "core/math/expression.h" +#include "core/object/callable_mp.h" #include "core/os/keyboard.h" #include "editor/debugger/editor_debugger_node.h" #include "editor/doc/editor_help.h" diff --git a/editor/settings/action_map_editor.cpp b/editor/settings/action_map_editor.cpp index 97312ef12b0..205ec437662 100644 --- a/editor/settings/action_map_editor.cpp +++ b/editor/settings/action_map_editor.cpp @@ -30,6 +30,7 @@ #include "action_map_editor.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_string_names.h" #include "editor/settings/editor_event_search_bar.h" diff --git a/editor/settings/editor_autoload_settings.cpp b/editor/settings/editor_autoload_settings.cpp index 72e1952ceef..3174ba49751 100644 --- a/editor/settings/editor_autoload_settings.cpp +++ b/editor/settings/editor_autoload_settings.cpp @@ -32,6 +32,7 @@ #include "core/config/project_settings.h" #include "core/core_constants.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/docks/filesystem_dock.h" #include "editor/editor_node.h" diff --git a/editor/settings/editor_build_profile.cpp b/editor/settings/editor_build_profile.cpp index 9e411bf48e4..07b48c450dc 100644 --- a/editor/settings/editor_build_profile.cpp +++ b/editor/settings/editor_build_profile.cpp @@ -32,6 +32,7 @@ #include "core/config/project_settings.h" #include "core/io/json.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" diff --git a/editor/settings/editor_command_palette.cpp b/editor/settings/editor_command_palette.cpp index cd7274ef537..16339563b7b 100644 --- a/editor/settings/editor_command_palette.cpp +++ b/editor/settings/editor_command_palette.cpp @@ -30,6 +30,7 @@ #include "editor_command_palette.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "core/os/os.h" diff --git a/editor/settings/editor_event_search_bar.cpp b/editor/settings/editor_event_search_bar.cpp index 4cc11bf66cb..8c3faba6cc5 100644 --- a/editor/settings/editor_event_search_bar.cpp +++ b/editor/settings/editor_event_search_bar.cpp @@ -30,6 +30,7 @@ #include "editor_event_search_bar.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/settings/event_listener_line_edit.h" #include "scene/gui/button.h" diff --git a/editor/settings/editor_feature_profile.cpp b/editor/settings/editor_feature_profile.cpp index 2476eef46d1..29eddfba8c6 100644 --- a/editor/settings/editor_feature_profile.cpp +++ b/editor/settings/editor_feature_profile.cpp @@ -32,6 +32,7 @@ #include "core/io/dir_access.h" #include "core/io/json.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" diff --git a/editor/settings/editor_layouts_dialog.cpp b/editor/settings/editor_layouts_dialog.cpp index 018ec4236fd..2eedeef59da 100644 --- a/editor/settings/editor_layouts_dialog.cpp +++ b/editor/settings/editor_layouts_dialog.cpp @@ -31,6 +31,7 @@ #include "editor_layouts_dialog.h" #include "core/io/config_file.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/settings/editor_settings.h" #include "editor/themes/editor_scale.h" diff --git a/editor/settings/editor_settings.cpp b/editor/settings/editor_settings.cpp index eb03b34e046..c699aa0eb64 100644 --- a/editor/settings/editor_settings.cpp +++ b/editor/settings/editor_settings.cpp @@ -41,6 +41,7 @@ #include "core/io/ip.h" #include "core/io/resource_loader.h" #include "core/io/resource_saver.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "core/os/os.h" diff --git a/editor/settings/editor_settings_dialog.cpp b/editor/settings/editor_settings_dialog.cpp index 2cdec3e0b5c..9048d19a17f 100644 --- a/editor/settings/editor_settings_dialog.cpp +++ b/editor/settings/editor_settings_dialog.cpp @@ -33,6 +33,7 @@ #include "core/config/engine.h" #include "core/config/project_settings.h" #include "core/input/input_map.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "editor/debugger/editor_debugger_node.h" diff --git a/editor/settings/event_listener_line_edit.cpp b/editor/settings/event_listener_line_edit.cpp index 923d3b1caf1..f5032877adb 100644 --- a/editor/settings/event_listener_line_edit.cpp +++ b/editor/settings/event_listener_line_edit.cpp @@ -31,6 +31,7 @@ #include "event_listener_line_edit.h" #include "core/input/input_map.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "scene/gui/dialogs.h" diff --git a/editor/settings/input_event_configuration_dialog.cpp b/editor/settings/input_event_configuration_dialog.cpp index 259c60264b2..5c792483839 100644 --- a/editor/settings/input_event_configuration_dialog.cpp +++ b/editor/settings/input_event_configuration_dialog.cpp @@ -31,6 +31,7 @@ #include "input_event_configuration_dialog.h" #include "core/input/input_map.h" +#include "core/object/callable_mp.h" #include "editor/editor_string_names.h" #include "editor/settings/event_listener_line_edit.h" #include "editor/themes/editor_scale.h" diff --git a/editor/settings/project_settings_editor.cpp b/editor/settings/project_settings_editor.cpp index b480b71a76e..f6fdf333a43 100644 --- a/editor/settings/project_settings_editor.cpp +++ b/editor/settings/project_settings_editor.cpp @@ -32,6 +32,7 @@ #include "core/config/project_settings.h" #include "core/input/input_map.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" diff --git a/editor/shader/shader_create_dialog.cpp b/editor/shader/shader_create_dialog.cpp index 54e6a3bfdca..6378b0b7b7c 100644 --- a/editor/shader/shader_create_dialog.cpp +++ b/editor/shader/shader_create_dialog.cpp @@ -32,6 +32,7 @@ #include "core/config/project_settings.h" #include "core/io/dir_access.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_node.h" #include "editor/gui/editor_file_dialog.h" diff --git a/editor/shader/shader_editor_plugin.cpp b/editor/shader/shader_editor_plugin.cpp index e43eb8607e8..2654434cf7b 100644 --- a/editor/shader/shader_editor_plugin.cpp +++ b/editor/shader/shader_editor_plugin.cpp @@ -30,6 +30,7 @@ #include "shader_editor_plugin.h" +#include "core/object/callable_mp.h" #include "editor/docks/editor_dock_manager.h" #include "editor/docks/filesystem_dock.h" #include "editor/docks/inspector_dock.h" diff --git a/editor/shader/shader_file_editor_plugin.cpp b/editor/shader/shader_file_editor_plugin.cpp index e6d5560334c..c73a5e4e496 100644 --- a/editor/shader/shader_file_editor_plugin.cpp +++ b/editor/shader/shader_file_editor_plugin.cpp @@ -30,6 +30,7 @@ #include "shader_file_editor_plugin.h" +#include "core/object/callable_mp.h" #include "editor/docks/editor_dock_manager.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" diff --git a/editor/shader/shader_globals_editor.cpp b/editor/shader/shader_globals_editor.cpp index 5f4e669cf18..a6b4eae7662 100644 --- a/editor/shader/shader_globals_editor.cpp +++ b/editor/shader/shader_globals_editor.cpp @@ -31,6 +31,7 @@ #include "shader_globals_editor.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_node.h" #include "editor/editor_undo_redo_manager.h" diff --git a/editor/shader/text_shader_editor.cpp b/editor/shader/text_shader_editor.cpp index bb15eeb0a71..7f621dc0d61 100644 --- a/editor/shader/text_shader_editor.cpp +++ b/editor/shader/text_shader_editor.cpp @@ -31,6 +31,7 @@ #include "text_shader_editor.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "core/version_generated.gen.h" diff --git a/editor/shader/visual_shader_editor_plugin.cpp b/editor/shader/visual_shader_editor_plugin.cpp index 4fd839b4580..7336472ef29 100644 --- a/editor/shader/visual_shader_editor_plugin.cpp +++ b/editor/shader/visual_shader_editor_plugin.cpp @@ -34,6 +34,7 @@ #include "core/input/input.h" #include "core/io/resource_loader.h" #include "core/math/math_defs.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "core/os/os.h" diff --git a/editor/themes/editor_theme_manager.cpp b/editor/themes/editor_theme_manager.cpp index 0b5ce33b93c..8d13c11ba9f 100644 --- a/editor/themes/editor_theme_manager.cpp +++ b/editor/themes/editor_theme_manager.cpp @@ -32,6 +32,7 @@ #include "core/error/error_macros.h" #include "core/io/resource_loader.h" +#include "core/object/callable_mp.h" #include "core/os/os.h" #include "editor/editor_string_names.h" #include "editor/file_system/editor_paths.h" diff --git a/editor/translations/editor_locale_dialog.cpp b/editor/translations/editor_locale_dialog.cpp index 16e59c6bc69..464b23494c5 100644 --- a/editor/translations/editor_locale_dialog.cpp +++ b/editor/translations/editor_locale_dialog.cpp @@ -31,6 +31,7 @@ #include "editor_locale_dialog.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/string/translation_server.h" #include "editor/editor_undo_redo_manager.h" diff --git a/editor/translations/editor_translation_preview_button.cpp b/editor/translations/editor_translation_preview_button.cpp index 6a385a6701c..655bb1c1e5e 100644 --- a/editor/translations/editor_translation_preview_button.cpp +++ b/editor/translations/editor_translation_preview_button.cpp @@ -30,7 +30,7 @@ #include "editor_translation_preview_button.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "core/string/translation_server.h" #include "editor/editor_node.h" diff --git a/editor/translations/editor_translation_preview_menu.cpp b/editor/translations/editor_translation_preview_menu.cpp index 17268bd4789..6a33d00944d 100644 --- a/editor/translations/editor_translation_preview_menu.cpp +++ b/editor/translations/editor_translation_preview_menu.cpp @@ -30,6 +30,7 @@ #include "editor_translation_preview_menu.h" +#include "core/object/callable_mp.h" #include "core/string/translation_server.h" #include "editor/editor_node.h" diff --git a/editor/translations/localization_editor.cpp b/editor/translations/localization_editor.cpp index 4e6ccf335a6..c3870745455 100644 --- a/editor/translations/localization_editor.cpp +++ b/editor/translations/localization_editor.cpp @@ -31,6 +31,7 @@ #include "localization_editor.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/string/translation_server.h" #include "editor/docks/filesystem_dock.h" diff --git a/editor/version_control/version_control_editor_plugin.cpp b/editor/version_control/version_control_editor_plugin.cpp index 1a61c6e1104..b1921751e86 100644 --- a/editor/version_control/version_control_editor_plugin.cpp +++ b/editor/version_control/version_control_editor_plugin.cpp @@ -31,6 +31,7 @@ #include "version_control_editor_plugin.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "core/os/os.h" diff --git a/modules/betsy/image_compress_betsy.cpp b/modules/betsy/image_compress_betsy.cpp index ae97c1f8edb..63d6c59b03a 100644 --- a/modules/betsy/image_compress_betsy.cpp +++ b/modules/betsy/image_compress_betsy.cpp @@ -39,6 +39,7 @@ #include "rgb_to_rgba.glsl.gen.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/os/os.h" #include "servers/display/display_server.h" #include "servers/rendering/rendering_context_driver.h" diff --git a/modules/csg/csg_shape.cpp b/modules/csg/csg_shape.cpp index 4a59988d169..51a6faa72e8 100644 --- a/modules/csg/csg_shape.cpp +++ b/modules/csg/csg_shape.cpp @@ -32,6 +32,7 @@ #include "core/config/engine.h" #include "core/math/geometry_2d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/resources/3d/navigation_mesh_source_geometry_data_3d.h" #include "scene/resources/navigation_mesh.h" diff --git a/modules/csg/editor/csg_gizmos.cpp b/modules/csg/editor/csg_gizmos.cpp index 9f8064d755d..1cc57078593 100644 --- a/modules/csg/editor/csg_gizmos.cpp +++ b/modules/csg/editor/csg_gizmos.cpp @@ -31,6 +31,7 @@ #include "csg_gizmos.h" #include "core/math/geometry_3d.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "editor/editor_undo_redo_manager.h" #include "editor/scene/3d/gizmos/gizmo_3d_helper.h" diff --git a/modules/gdscript/gdscript.cpp b/modules/gdscript/gdscript.cpp index 4ea1ea207e2..ab4d08f9e48 100644 --- a/modules/gdscript/gdscript.cpp +++ b/modules/gdscript/gdscript.cpp @@ -30,6 +30,7 @@ #include "gdscript.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "gdscript_analyzer.h" #include "gdscript_cache.h" diff --git a/modules/gdscript/language_server/gdscript_language_protocol.cpp b/modules/gdscript/language_server/gdscript_language_protocol.cpp index 1e21fa5e71c..dfbdb3cd4a1 100644 --- a/modules/gdscript/language_server/gdscript_language_protocol.cpp +++ b/modules/gdscript/language_server/gdscript_language_protocol.cpp @@ -31,6 +31,7 @@ #include "gdscript_language_protocol.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "editor/doc/doc_tools.h" diff --git a/modules/gdscript/language_server/gdscript_text_document.cpp b/modules/gdscript/language_server/gdscript_text_document.cpp index 14e40c21ea5..94822e0b260 100644 --- a/modules/gdscript/language_server/gdscript_text_document.cpp +++ b/modules/gdscript/language_server/gdscript_text_document.cpp @@ -34,6 +34,7 @@ #include "gdscript_extend_parser.h" #include "gdscript_language_protocol.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/script/script_text_editor.h" #include "editor/settings/editor_settings.h" diff --git a/modules/gdscript/language_server/gdscript_workspace.cpp b/modules/gdscript/language_server/gdscript_workspace.cpp index 236f3295a66..b757cc97c93 100644 --- a/modules/gdscript/language_server/gdscript_workspace.cpp +++ b/modules/gdscript/language_server/gdscript_workspace.cpp @@ -35,6 +35,7 @@ #include "gdscript_language_protocol.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/object/script_language.h" #include "editor/doc/doc_tools.h" diff --git a/modules/gltf/editor/editor_import_blend_runner.cpp b/modules/gltf/editor/editor_import_blend_runner.cpp index 8dd20ed0888..b11800c4eba 100644 --- a/modules/gltf/editor/editor_import_blend_runner.cpp +++ b/modules/gltf/editor/editor_import_blend_runner.cpp @@ -31,7 +31,7 @@ #include "editor_import_blend_runner.h" #include "core/io/http_client.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "core/os/os.h" #include "editor/editor_node.h" #include "editor/file_system/editor_file_system.h" diff --git a/modules/gltf/editor/editor_scene_exporter_gltf_plugin.cpp b/modules/gltf/editor/editor_scene_exporter_gltf_plugin.cpp index 579c8a03a87..904613ff1f0 100644 --- a/modules/gltf/editor/editor_scene_exporter_gltf_plugin.cpp +++ b/modules/gltf/editor/editor_scene_exporter_gltf_plugin.cpp @@ -32,6 +32,7 @@ #include "editor_scene_exporter_gltf_settings.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "editor/file_system/editor_file_system.h" #include "editor/gui/editor_file_dialog.h" diff --git a/modules/gltf/editor/editor_scene_exporter_gltf_settings.cpp b/modules/gltf/editor/editor_scene_exporter_gltf_settings.cpp index bd8abedadf3..dc4e90ecd01 100644 --- a/modules/gltf/editor/editor_scene_exporter_gltf_settings.cpp +++ b/modules/gltf/editor/editor_scene_exporter_gltf_settings.cpp @@ -30,6 +30,7 @@ #include "editor_scene_exporter_gltf_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" const uint32_t PROP_EDITOR_SCRIPT_VAR = PROPERTY_USAGE_EDITOR | PROPERTY_USAGE_SCRIPT_VARIABLE; diff --git a/modules/gltf/editor/editor_scene_importer_blend.cpp b/modules/gltf/editor/editor_scene_importer_blend.cpp index 8f01c726616..b8b0a259047 100644 --- a/modules/gltf/editor/editor_scene_importer_blend.cpp +++ b/modules/gltf/editor/editor_scene_importer_blend.cpp @@ -35,6 +35,7 @@ #include "editor_import_blend_runner.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/os/os.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" diff --git a/modules/godot_physics_2d/register_types.cpp b/modules/godot_physics_2d/register_types.cpp index 9c79b8bab2d..80094fdb7b7 100644 --- a/modules/godot_physics_2d/register_types.cpp +++ b/modules/godot_physics_2d/register_types.cpp @@ -31,6 +31,7 @@ #include "register_types.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "godot_physics_server_2d.h" #include "servers/physics_2d/physics_server_2d.h" #include "servers/physics_2d/physics_server_2d_wrap_mt.h" diff --git a/modules/godot_physics_3d/register_types.cpp b/modules/godot_physics_3d/register_types.cpp index 6b9c210ff56..19292f9f908 100644 --- a/modules/godot_physics_3d/register_types.cpp +++ b/modules/godot_physics_3d/register_types.cpp @@ -33,7 +33,7 @@ #include "godot_physics_server_3d.h" #include "core/config/project_settings.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "servers/physics_3d/physics_server_3d.h" #include "servers/physics_3d/physics_server_3d_wrap_mt.h" diff --git a/modules/gridmap/editor/grid_map_editor_plugin.cpp b/modules/gridmap/editor/grid_map_editor_plugin.cpp index d439799bc3d..cb8560ab9f7 100644 --- a/modules/gridmap/editor/grid_map_editor_plugin.cpp +++ b/modules/gridmap/editor/grid_map_editor_plugin.cpp @@ -32,6 +32,7 @@ #include "core/input/input.h" #include "core/math/geometry_2d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "editor/docks/editor_dock_manager.h" diff --git a/modules/gridmap/grid_map.cpp b/modules/gridmap/grid_map.cpp index 0b51aad7dfe..9da813a03d1 100644 --- a/modules/gridmap/grid_map.cpp +++ b/modules/gridmap/grid_map.cpp @@ -32,6 +32,7 @@ #include "core/config/engine.h" #include "core/io/marshalls.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/templates/a_hash_map.h" #include "scene/resources/3d/mesh_library.h" diff --git a/modules/interactive_music/editor/audio_stream_interactive_editor_plugin.cpp b/modules/interactive_music/editor/audio_stream_interactive_editor_plugin.cpp index 3a2f2e40fab..5dd0af8eff3 100644 --- a/modules/interactive_music/editor/audio_stream_interactive_editor_plugin.cpp +++ b/modules/interactive_music/editor/audio_stream_interactive_editor_plugin.cpp @@ -32,6 +32,7 @@ #include "../audio_stream_interactive.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" diff --git a/modules/jolt_physics/jolt_project_settings.cpp b/modules/jolt_physics/jolt_project_settings.cpp index 5d58a5fd326..43d66422510 100644 --- a/modules/jolt_physics/jolt_project_settings.cpp +++ b/modules/jolt_physics/jolt_project_settings.cpp @@ -31,7 +31,7 @@ #include "jolt_project_settings.h" #include "core/config/project_settings.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" void JoltProjectSettings::register_settings() { GLOBAL_DEF(PropertyInfo(Variant::INT, "physics/jolt_physics_3d/simulation/velocity_steps", PROPERTY_HINT_RANGE, U"2,16,or_greater"), 10); diff --git a/modules/jolt_physics/register_types.cpp b/modules/jolt_physics/register_types.cpp index 408addff7c6..51aadf0607f 100644 --- a/modules/jolt_physics/register_types.cpp +++ b/modules/jolt_physics/register_types.cpp @@ -35,7 +35,7 @@ #include "jolt_project_settings.h" #include "core/config/project_settings.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "servers/physics_3d/physics_server_3d_wrap_mt.h" PhysicsServer3D *create_jolt_physics_server() { diff --git a/modules/jsonrpc/tests/test_jsonrpc.h b/modules/jsonrpc/tests/test_jsonrpc.h index 9e855d8e971..3732596bee9 100644 --- a/modules/jsonrpc/tests/test_jsonrpc.h +++ b/modules/jsonrpc/tests/test_jsonrpc.h @@ -30,6 +30,7 @@ #pragma once +#include "core/object/callable_mp.h" #include "tests/test_macros.h" #include "tests/test_utils.h" diff --git a/modules/mono/editor/editor_internal_calls.cpp b/modules/mono/editor/editor_internal_calls.cpp index 927adbe08d9..097c69ad9c3 100644 --- a/modules/mono/editor/editor_internal_calls.cpp +++ b/modules/mono/editor/editor_internal_calls.cpp @@ -38,6 +38,7 @@ #include "code_completion.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/os/os.h" #include "core/version.h" #include "editor/debugger/editor_debugger_node.h" diff --git a/modules/multiplayer/editor/editor_network_profiler.cpp b/modules/multiplayer/editor/editor_network_profiler.cpp index f4eab40e58f..170946263d5 100644 --- a/modules/multiplayer/editor/editor_network_profiler.cpp +++ b/modules/multiplayer/editor/editor_network_profiler.cpp @@ -31,6 +31,7 @@ #include "editor_network_profiler.h" #include "core/io/resource_loader.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_string_names.h" #include "editor/run/editor_run_bar.h" diff --git a/modules/multiplayer/editor/multiplayer_editor_plugin.cpp b/modules/multiplayer/editor/multiplayer_editor_plugin.cpp index e18ce3df164..58dd7e4b059 100644 --- a/modules/multiplayer/editor/multiplayer_editor_plugin.cpp +++ b/modules/multiplayer/editor/multiplayer_editor_plugin.cpp @@ -34,6 +34,7 @@ #include "editor_network_profiler.h" #include "replication_editor.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/docks/editor_dock_manager.h" #include "editor/editor_interface.h" diff --git a/modules/multiplayer/editor/replication_editor.cpp b/modules/multiplayer/editor/replication_editor.cpp index dfccbd36b18..351bbdc6c4d 100644 --- a/modules/multiplayer/editor/replication_editor.cpp +++ b/modules/multiplayer/editor/replication_editor.cpp @@ -32,6 +32,7 @@ #include "../multiplayer_synchronizer.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" diff --git a/modules/multiplayer/multiplayer_spawner.cpp b/modules/multiplayer/multiplayer_spawner.cpp index c19936134f3..0e8b6dfed94 100644 --- a/modules/multiplayer/multiplayer_spawner.cpp +++ b/modules/multiplayer/multiplayer_spawner.cpp @@ -32,6 +32,7 @@ #include "core/config/engine.h" #include "core/io/resource_loader.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/main/multiplayer_api.h" diff --git a/modules/multiplayer/scene_cache_interface.cpp b/modules/multiplayer/scene_cache_interface.cpp index 9764f8af84e..e14b90a207e 100644 --- a/modules/multiplayer/scene_cache_interface.cpp +++ b/modules/multiplayer/scene_cache_interface.cpp @@ -33,6 +33,7 @@ #include "scene_multiplayer.h" #include "core/io/marshalls.h" +#include "core/object/callable_mp.h" #include "scene/main/node.h" #include "scene/main/window.h" diff --git a/modules/multiplayer/scene_multiplayer.cpp b/modules/multiplayer/scene_multiplayer.cpp index 5fca05fc80f..80d188d8b4c 100644 --- a/modules/multiplayer/scene_multiplayer.cpp +++ b/modules/multiplayer/scene_multiplayer.cpp @@ -32,6 +32,7 @@ #include "core/debugger/engine_debugger.h" #include "core/io/marshalls.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" diff --git a/modules/multiplayer/scene_replication_interface.cpp b/modules/multiplayer/scene_replication_interface.cpp index 0ca97ea456c..6db7f1e2956 100644 --- a/modules/multiplayer/scene_replication_interface.cpp +++ b/modules/multiplayer/scene_replication_interface.cpp @@ -34,6 +34,7 @@ #include "core/debugger/engine_debugger.h" #include "core/io/marshalls.h" +#include "core/object/callable_mp.h" #include "core/os/os.h" #include "scene/main/node.h" diff --git a/modules/multiplayer/scene_rpc_interface.cpp b/modules/multiplayer/scene_rpc_interface.cpp index a169f89731e..3abbec5082d 100644 --- a/modules/multiplayer/scene_rpc_interface.cpp +++ b/modules/multiplayer/scene_rpc_interface.cpp @@ -34,6 +34,7 @@ #include "core/debugger/engine_debugger.h" #include "core/io/marshalls.h" +#include "core/object/callable_mp.h" #include "scene/main/multiplayer_api.h" #include "scene/main/node.h" #include "scene/main/window.h" diff --git a/modules/multiplayer/tests/test_scene_multiplayer.h b/modules/multiplayer/tests/test_scene_multiplayer.h index afb4dc94a7a..198886d6590 100644 --- a/modules/multiplayer/tests/test_scene_multiplayer.h +++ b/modules/multiplayer/tests/test_scene_multiplayer.h @@ -30,6 +30,7 @@ #pragma once +#include "core/object/callable_mp.h" #include "tests/test_macros.h" #include "tests/test_utils.h" diff --git a/modules/navigation_2d/editor/navigation_link_2d_editor_plugin.cpp b/modules/navigation_2d/editor/navigation_link_2d_editor_plugin.cpp index d3f427e5102..699e4d31f1d 100644 --- a/modules/navigation_2d/editor/navigation_link_2d_editor_plugin.cpp +++ b/modules/navigation_2d/editor/navigation_link_2d_editor_plugin.cpp @@ -30,6 +30,7 @@ #include "navigation_link_2d_editor_plugin.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "editor/editor_undo_redo_manager.h" #include "editor/scene/canvas_item_editor_plugin.h" diff --git a/modules/navigation_2d/editor/navigation_region_2d_editor_plugin.cpp b/modules/navigation_2d/editor/navigation_region_2d_editor_plugin.cpp index b9ed1bd2c78..928d69980ee 100644 --- a/modules/navigation_2d/editor/navigation_region_2d_editor_plugin.cpp +++ b/modules/navigation_2d/editor/navigation_region_2d_editor_plugin.cpp @@ -30,6 +30,7 @@ #include "navigation_region_2d_editor_plugin.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "editor/editor_undo_redo_manager.h" #include "editor/settings/editor_settings.h" diff --git a/modules/navigation_2d/register_types.cpp b/modules/navigation_2d/register_types.cpp index 3fa091653fc..25bc3fe4437 100644 --- a/modules/navigation_2d/register_types.cpp +++ b/modules/navigation_2d/register_types.cpp @@ -33,6 +33,7 @@ #include "2d/godot_navigation_server_2d.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "servers/navigation_2d/navigation_server_2d.h" #ifdef TOOLS_ENABLED diff --git a/modules/navigation_3d/editor/navigation_obstacle_3d_editor_plugin.cpp b/modules/navigation_3d/editor/navigation_obstacle_3d_editor_plugin.cpp index 98e76b4c745..0378b73ee79 100644 --- a/modules/navigation_3d/editor/navigation_obstacle_3d_editor_plugin.cpp +++ b/modules/navigation_3d/editor/navigation_obstacle_3d_editor_plugin.cpp @@ -32,6 +32,7 @@ #include "core/input/input.h" #include "core/math/geometry_2d.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" #include "editor/editor_undo_redo_manager.h" diff --git a/modules/navigation_3d/editor/navigation_region_3d_editor_plugin.cpp b/modules/navigation_3d/editor/navigation_region_3d_editor_plugin.cpp index f93686adc8b..8d3990ff16d 100644 --- a/modules/navigation_3d/editor/navigation_region_3d_editor_plugin.cpp +++ b/modules/navigation_3d/editor/navigation_region_3d_editor_plugin.cpp @@ -30,6 +30,7 @@ #include "navigation_region_3d_editor_plugin.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" #include "editor/inspector/multi_node_edit.h" diff --git a/modules/navigation_3d/register_types.cpp b/modules/navigation_3d/register_types.cpp index e2ccd21bb99..aed4bd48fa3 100644 --- a/modules/navigation_3d/register_types.cpp +++ b/modules/navigation_3d/register_types.cpp @@ -43,6 +43,7 @@ #endif #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "servers/navigation_3d/navigation_server_3d.h" #ifndef DISABLE_DEPRECATED diff --git a/modules/noise/editor/noise_editor_plugin.cpp b/modules/noise/editor/noise_editor_plugin.cpp index e260448f276..38c354ead97 100644 --- a/modules/noise/editor/noise_editor_plugin.cpp +++ b/modules/noise/editor/noise_editor_plugin.cpp @@ -33,7 +33,7 @@ #include "../noise.h" #include "../noise_texture_2d.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "editor/inspector/editor_inspector.h" #include "editor/themes/editor_scale.h" #include "scene/gui/button.h" diff --git a/modules/noise/noise_texture_2d.cpp b/modules/noise/noise_texture_2d.cpp index f84592eea57..c09d15841ad 100644 --- a/modules/noise/noise_texture_2d.cpp +++ b/modules/noise/noise_texture_2d.cpp @@ -33,6 +33,7 @@ #include "noise.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "servers/rendering/rendering_server.h" diff --git a/modules/noise/noise_texture_3d.cpp b/modules/noise/noise_texture_3d.cpp index d777194ef6c..81283b083c4 100644 --- a/modules/noise/noise_texture_3d.cpp +++ b/modules/noise/noise_texture_3d.cpp @@ -33,6 +33,7 @@ #include "noise.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "servers/rendering/rendering_server.h" diff --git a/modules/noise/tests/test_noise_texture_2d.h b/modules/noise/tests/test_noise_texture_2d.h index e0908d75526..4b909176181 100644 --- a/modules/noise/tests/test_noise_texture_2d.h +++ b/modules/noise/tests/test_noise_texture_2d.h @@ -32,6 +32,7 @@ #include "../noise_texture_2d.h" +#include "core/object/callable_mp.h" #include "tests/test_macros.h" namespace TestNoiseTexture2D { diff --git a/modules/noise/tests/test_noise_texture_3d.h b/modules/noise/tests/test_noise_texture_3d.h index eb9cc544a4a..a6eeb1e382e 100644 --- a/modules/noise/tests/test_noise_texture_3d.h +++ b/modules/noise/tests/test_noise_texture_3d.h @@ -32,6 +32,7 @@ #include "../noise_texture_3d.h" +#include "core/object/callable_mp.h" #include "tests/test_macros.h" namespace TestNoiseTexture3D { diff --git a/modules/objectdb_profiler/editor/data_viewers/class_view.cpp b/modules/objectdb_profiler/editor/data_viewers/class_view.cpp index cba670332f8..f4346669864 100644 --- a/modules/objectdb_profiler/editor/data_viewers/class_view.cpp +++ b/modules/objectdb_profiler/editor/data_viewers/class_view.cpp @@ -32,6 +32,7 @@ #include "shared_controls.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_node.h" #include "editor/themes/editor_scale.h" diff --git a/modules/objectdb_profiler/editor/data_viewers/node_view.cpp b/modules/objectdb_profiler/editor/data_viewers/node_view.cpp index 9bef5c31d63..119bf9a6094 100644 --- a/modules/objectdb_profiler/editor/data_viewers/node_view.cpp +++ b/modules/objectdb_profiler/editor/data_viewers/node_view.cpp @@ -30,6 +30,7 @@ #include "node_view.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "editor/themes/editor_scale.h" #include "scene/gui/check_button.h" diff --git a/modules/objectdb_profiler/editor/data_viewers/object_view.cpp b/modules/objectdb_profiler/editor/data_viewers/object_view.cpp index aef84232aeb..5784a79a46c 100644 --- a/modules/objectdb_profiler/editor/data_viewers/object_view.cpp +++ b/modules/objectdb_profiler/editor/data_viewers/object_view.cpp @@ -30,6 +30,7 @@ #include "object_view.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "editor/themes/editor_scale.h" #include "scene/gui/rich_text_label.h" diff --git a/modules/objectdb_profiler/editor/data_viewers/refcounted_view.cpp b/modules/objectdb_profiler/editor/data_viewers/refcounted_view.cpp index b84d663a66c..9e698b3d000 100644 --- a/modules/objectdb_profiler/editor/data_viewers/refcounted_view.cpp +++ b/modules/objectdb_profiler/editor/data_viewers/refcounted_view.cpp @@ -30,6 +30,7 @@ #include "refcounted_view.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "editor/themes/editor_scale.h" #include "scene/gui/rich_text_label.h" diff --git a/modules/objectdb_profiler/editor/data_viewers/shared_controls.cpp b/modules/objectdb_profiler/editor/data_viewers/shared_controls.cpp index 9bf026d1f78..c1c24e29e09 100644 --- a/modules/objectdb_profiler/editor/data_viewers/shared_controls.cpp +++ b/modules/objectdb_profiler/editor/data_viewers/shared_controls.cpp @@ -30,6 +30,7 @@ #include "shared_controls.h" +#include "core/object/callable_mp.h" #include "editor/editor_node.h" #include "editor/editor_string_names.h" #include "editor/themes/editor_scale.h" diff --git a/modules/objectdb_profiler/editor/objectdb_profiler_panel.cpp b/modules/objectdb_profiler/editor/objectdb_profiler_panel.cpp index 80e31515b8b..16498a512ad 100644 --- a/modules/objectdb_profiler/editor/objectdb_profiler_panel.cpp +++ b/modules/objectdb_profiler/editor/objectdb_profiler_panel.cpp @@ -38,6 +38,7 @@ #include "data_viewers/summary_view.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/os/os.h" #include "core/os/time.h" #include "editor/debugger/editor_debugger_node.h" diff --git a/modules/objectdb_profiler/editor/objectdb_profiler_plugin.cpp b/modules/objectdb_profiler/editor/objectdb_profiler_plugin.cpp index 88b4baba051..c0500faa3b8 100644 --- a/modules/objectdb_profiler/editor/objectdb_profiler_plugin.cpp +++ b/modules/objectdb_profiler/editor/objectdb_profiler_plugin.cpp @@ -32,7 +32,7 @@ #include "objectdb_profiler_panel.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" bool ObjectDBProfilerDebuggerPlugin::has_capture(const String &p_capture) const { return p_capture == "snapshot"; diff --git a/modules/openxr/editor/openxr_action_editor.cpp b/modules/openxr/editor/openxr_action_editor.cpp index 28143dbb979..88836121d7f 100644 --- a/modules/openxr/editor/openxr_action_editor.cpp +++ b/modules/openxr/editor/openxr_action_editor.cpp @@ -30,6 +30,7 @@ #include "openxr_action_editor.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_string_names.h" #include "editor/themes/editor_scale.h" diff --git a/modules/openxr/editor/openxr_action_map_editor.cpp b/modules/openxr/editor/openxr_action_map_editor.cpp index bcc25eb17fd..f1c81e79120 100644 --- a/modules/openxr/editor/openxr_action_map_editor.cpp +++ b/modules/openxr/editor/openxr_action_map_editor.cpp @@ -34,6 +34,7 @@ #include "core/io/dir_access.h" #include "core/io/resource_loader.h" #include "core/io/resource_saver.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_node.h" #include "editor/gui/editor_file_dialog.h" diff --git a/modules/openxr/editor/openxr_action_set_editor.cpp b/modules/openxr/editor/openxr_action_set_editor.cpp index b8ea7fb64e5..e739e2f8660 100644 --- a/modules/openxr/editor/openxr_action_set_editor.cpp +++ b/modules/openxr/editor/openxr_action_set_editor.cpp @@ -30,6 +30,7 @@ #include "openxr_action_set_editor.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_string_names.h" #include "editor/gui/editor_spin_slider.h" diff --git a/modules/openxr/editor/openxr_binding_modifier_editor.cpp b/modules/openxr/editor/openxr_binding_modifier_editor.cpp index a184f0dd934..02b9901799d 100644 --- a/modules/openxr/editor/openxr_binding_modifier_editor.cpp +++ b/modules/openxr/editor/openxr_binding_modifier_editor.cpp @@ -30,6 +30,7 @@ #include "openxr_binding_modifier_editor.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_string_names.h" #include "scene/gui/option_button.h" diff --git a/modules/openxr/editor/openxr_binding_modifiers_dialog.cpp b/modules/openxr/editor/openxr_binding_modifiers_dialog.cpp index 6eecaee7c64..28615e16180 100644 --- a/modules/openxr/editor/openxr_binding_modifiers_dialog.cpp +++ b/modules/openxr/editor/openxr_binding_modifiers_dialog.cpp @@ -32,6 +32,7 @@ #include "../action_map/openxr_interaction_profile_metadata.h" #include "openxr_action_map_editor.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/themes/editor_scale.h" diff --git a/modules/openxr/editor/openxr_interaction_profile_editor.cpp b/modules/openxr/editor/openxr_interaction_profile_editor.cpp index 9a6af7f786a..f3db8e9a1e4 100644 --- a/modules/openxr/editor/openxr_interaction_profile_editor.cpp +++ b/modules/openxr/editor/openxr_interaction_profile_editor.cpp @@ -32,6 +32,7 @@ #include "../openxr_api.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/editor_string_names.h" diff --git a/modules/openxr/editor/openxr_select_action_dialog.cpp b/modules/openxr/editor/openxr_select_action_dialog.cpp index 58222e6a928..abb2d037fca 100644 --- a/modules/openxr/editor/openxr_select_action_dialog.cpp +++ b/modules/openxr/editor/openxr_select_action_dialog.cpp @@ -30,6 +30,7 @@ #include "openxr_select_action_dialog.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/themes/editor_scale.h" diff --git a/modules/openxr/editor/openxr_select_interaction_profile_dialog.cpp b/modules/openxr/editor/openxr_select_interaction_profile_dialog.cpp index c3513524c51..16fb95d7386 100644 --- a/modules/openxr/editor/openxr_select_interaction_profile_dialog.cpp +++ b/modules/openxr/editor/openxr_select_interaction_profile_dialog.cpp @@ -33,6 +33,7 @@ #include "../action_map/openxr_interaction_profile_metadata.h" #include "../openxr_api.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "editor/themes/editor_scale.h" diff --git a/modules/openxr/editor/openxr_select_runtime.cpp b/modules/openxr/editor/openxr_select_runtime.cpp index 5e80511b75a..5cd139d044b 100644 --- a/modules/openxr/editor/openxr_select_runtime.cpp +++ b/modules/openxr/editor/openxr_select_runtime.cpp @@ -37,6 +37,7 @@ #include "core/io/dir_access.h" #include "core/io/json.h" +#include "core/object/callable_mp.h" #include "core/os/os.h" #include "editor/settings/editor_settings.h" diff --git a/modules/openxr/extensions/openxr_android_thread_settings_extension.cpp b/modules/openxr/extensions/openxr_android_thread_settings_extension.cpp index a3702b0dcf6..df53c46826d 100644 --- a/modules/openxr/extensions/openxr_android_thread_settings_extension.cpp +++ b/modules/openxr/extensions/openxr_android_thread_settings_extension.cpp @@ -30,7 +30,7 @@ #include "openxr_android_thread_settings_extension.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/string/print_string.h" #include "servers/rendering/rendering_server.h" diff --git a/modules/openxr/extensions/openxr_composition_layer_extension.cpp b/modules/openxr/extensions/openxr_composition_layer_extension.cpp index bd6b816abd6..78cab821021 100644 --- a/modules/openxr/extensions/openxr_composition_layer_extension.cpp +++ b/modules/openxr/extensions/openxr_composition_layer_extension.cpp @@ -32,6 +32,7 @@ #include "openxr_fb_update_swapchain_extension.h" +#include "core/object/callable_mp.h" #include "platform/android/api/java_class_wrapper.h" #include "servers/rendering/rendering_server.h" #include "servers/rendering/rendering_server_globals.h" diff --git a/modules/openxr/extensions/openxr_fb_foveation_extension.cpp b/modules/openxr/extensions/openxr_fb_foveation_extension.cpp index 908d08318ed..14d957700f9 100644 --- a/modules/openxr/extensions/openxr_fb_foveation_extension.cpp +++ b/modules/openxr/extensions/openxr_fb_foveation_extension.cpp @@ -34,6 +34,7 @@ #include "openxr_eye_gaze_interaction.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "servers/rendering/rendering_server.h" OpenXRFBFoveationExtension *OpenXRFBFoveationExtension::singleton = nullptr; diff --git a/modules/openxr/extensions/openxr_frame_synthesis_extension.cpp b/modules/openxr/extensions/openxr_frame_synthesis_extension.cpp index 3af10419550..86624a58358 100644 --- a/modules/openxr/extensions/openxr_frame_synthesis_extension.cpp +++ b/modules/openxr/extensions/openxr_frame_synthesis_extension.cpp @@ -31,6 +31,7 @@ #include "openxr_frame_synthesis_extension.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "servers/rendering/rendering_server.h" #include "servers/xr/xr_server.h" diff --git a/modules/openxr/extensions/spatial_entities/openxr_spatial_anchor.cpp b/modules/openxr/extensions/spatial_entities/openxr_spatial_anchor.cpp index 253b3b3c2bf..a7b30841b9f 100644 --- a/modules/openxr/extensions/spatial_entities/openxr_spatial_anchor.cpp +++ b/modules/openxr/extensions/spatial_entities/openxr_spatial_anchor.cpp @@ -35,6 +35,7 @@ #include "../openxr_future_extension.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "servers/xr/xr_server.h" diff --git a/modules/openxr/extensions/spatial_entities/openxr_spatial_entity_extension.cpp b/modules/openxr/extensions/spatial_entities/openxr_spatial_entity_extension.cpp index b9e98c409eb..61d9f513071 100644 --- a/modules/openxr/extensions/spatial_entities/openxr_spatial_entity_extension.cpp +++ b/modules/openxr/extensions/spatial_entities/openxr_spatial_entity_extension.cpp @@ -33,6 +33,7 @@ #include "../../openxr_api.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "servers/xr/xr_server.h" diff --git a/modules/openxr/extensions/spatial_entities/openxr_spatial_marker_tracking.cpp b/modules/openxr/extensions/spatial_entities/openxr_spatial_marker_tracking.cpp index 1f771eeaeb4..c881eadc823 100644 --- a/modules/openxr/extensions/spatial_entities/openxr_spatial_marker_tracking.cpp +++ b/modules/openxr/extensions/spatial_entities/openxr_spatial_marker_tracking.cpp @@ -33,6 +33,7 @@ #include "../../openxr_api.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "openxr_spatial_entity_extension.h" #include "servers/xr/xr_server.h" diff --git a/modules/openxr/extensions/spatial_entities/openxr_spatial_plane_tracking.cpp b/modules/openxr/extensions/spatial_entities/openxr_spatial_plane_tracking.cpp index ad83bf10627..78f703ff43b 100644 --- a/modules/openxr/extensions/spatial_entities/openxr_spatial_plane_tracking.cpp +++ b/modules/openxr/extensions/spatial_entities/openxr_spatial_plane_tracking.cpp @@ -33,6 +33,7 @@ #include "../../openxr_api.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/resources/3d/box_shape_3d.h" #include "scene/resources/3d/concave_polygon_shape_3d.h" diff --git a/modules/openxr/openxr_api.cpp b/modules/openxr/openxr_api.cpp index 3b4dcf61600..04aa2cc49f4 100644 --- a/modules/openxr/openxr_api.cpp +++ b/modules/openxr/openxr_api.cpp @@ -35,6 +35,7 @@ #include "core/config/engine.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/os/memory.h" #include "core/os/os.h" #include "core/profiling/profiling.h" diff --git a/modules/openxr/scene/openxr_composition_layer.cpp b/modules/openxr/scene/openxr_composition_layer.cpp index 06cd8adf245..a21be98934f 100644 --- a/modules/openxr/scene/openxr_composition_layer.cpp +++ b/modules/openxr/scene/openxr_composition_layer.cpp @@ -35,6 +35,7 @@ #include "../openxr_interface.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/3d/mesh_instance_3d.h" #include "scene/3d/xr/xr_nodes.h" diff --git a/modules/openxr/scene/openxr_render_model.cpp b/modules/openxr/scene/openxr_render_model.cpp index 5777fbf2e36..9c637dd32d2 100644 --- a/modules/openxr/scene/openxr_render_model.cpp +++ b/modules/openxr/scene/openxr_render_model.cpp @@ -35,6 +35,7 @@ #include "../extensions/openxr_render_model_extension.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/3d/mesh_instance_3d.h" #include "scene/3d/xr/xr_nodes.h" diff --git a/modules/openxr/scene/openxr_render_model_manager.cpp b/modules/openxr/scene/openxr_render_model_manager.cpp index 85d23cf7b62..e1515c609a2 100644 --- a/modules/openxr/scene/openxr_render_model_manager.cpp +++ b/modules/openxr/scene/openxr_render_model_manager.cpp @@ -36,6 +36,7 @@ #include "core/config/engine.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/3d/xr/xr_nodes.h" #include "servers/xr/xr_server.h" diff --git a/modules/openxr/scene/openxr_visibility_mask.cpp b/modules/openxr/scene/openxr_visibility_mask.cpp index f8daf12a543..e482b150706 100644 --- a/modules/openxr/scene/openxr_visibility_mask.cpp +++ b/modules/openxr/scene/openxr_visibility_mask.cpp @@ -33,6 +33,7 @@ #include "../extensions/openxr_visibility_mask_extension.h" #include "../openxr_interface.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/3d/xr/xr_nodes.h" #include "servers/rendering/rendering_server.h" diff --git a/modules/text_server_adv/text_server_adv.cpp b/modules/text_server_adv/text_server_adv.cpp index fbcc81a7a0c..9dcedadff38 100644 --- a/modules/text_server_adv/text_server_adv.cpp +++ b/modules/text_server_adv/text_server_adv.cpp @@ -38,7 +38,6 @@ #include #include #include -#include using namespace godot; @@ -50,7 +49,7 @@ using namespace godot; #include "core/config/project_settings.h" #include "core/error/error_macros.h" #include "core/io/file_access.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "core/object/worker_thread_pool.h" #include "core/os/os.h" #include "core/string/translation_server.h" diff --git a/modules/text_server_fb/text_server_fb.cpp b/modules/text_server_fb/text_server_fb.cpp index e4c9c819fff..968ed0a4f88 100644 --- a/modules/text_server_fb/text_server_fb.cpp +++ b/modules/text_server_fb/text_server_fb.cpp @@ -38,7 +38,6 @@ #include #include #include -#include #define OT_TAG(m_c1, m_c2, m_c3, m_c4) ((int32_t)((((uint32_t)(m_c1) & 0xff) << 24) | (((uint32_t)(m_c2) & 0xff) << 16) | (((uint32_t)(m_c3) & 0xff) << 8) | ((uint32_t)(m_c4) & 0xff))) @@ -52,7 +51,7 @@ using namespace godot; #include "core/config/project_settings.h" #include "core/error/error_macros.h" #include "core/io/file_access.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "core/os/os.h" #include "core/string/print_string.h" #include "core/string/translation_server.h" diff --git a/platform/android/export/android_editor_gradle_runner.cpp b/platform/android/export/android_editor_gradle_runner.cpp index fbca1883873..4f07f4c4729 100644 --- a/platform/android/export/android_editor_gradle_runner.cpp +++ b/platform/android/export/android_editor_gradle_runner.cpp @@ -31,7 +31,7 @@ #ifdef ANDROID_ENABLED #include "android_editor_gradle_runner.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "editor/editor_interface.h" #include "editor/settings/editor_settings.h" #include "scene/gui/dialogs.h" diff --git a/platform/android/export/export_plugin.cpp b/platform/android/export/export_plugin.cpp index fccf4e3007b..0c1182f2cd7 100644 --- a/platform/android/export/export_plugin.cpp +++ b/platform/android/export/export_plugin.cpp @@ -40,6 +40,7 @@ #include "core/io/json.h" #include "core/io/marshalls.h" #include "core/math/random_pcg.h" +#include "core/object/callable_mp.h" #include "core/os/os.h" #include "core/string/translation_server.h" #include "core/version.h" @@ -68,7 +69,6 @@ #endif #ifndef ANDROID_ENABLED -#include "core/object/callable_method_pointer.h" #endif static const char *ANDROID_PERMS[] = { diff --git a/platform/android/os_android.cpp b/platform/android/os_android.cpp index 92af0462653..22286be714d 100644 --- a/platform/android/os_android.cpp +++ b/platform/android/os_android.cpp @@ -43,13 +43,13 @@ #include "core/extension/gdextension_manager.h" #include "core/input/input.h" #include "core/io/xml_parser.h" +#include "core/object/callable_mp.h" #include "core/os/main_loop.h" #include "core/os/os.h" #include "core/profiling/profiling.h" #include "drivers/unix/dir_access_unix.h" #include "drivers/unix/file_access_unix.h" #ifdef TOOLS_ENABLED -#include "core/object/callable_method_pointer.h" #include "editor/editor_node.h" #include "editor/run/game_view_plugin.h" #endif diff --git a/platform/linuxbsd/freedesktop_portal_desktop.cpp b/platform/linuxbsd/freedesktop_portal_desktop.cpp index 5f43167a5a1..ff248b4fda9 100644 --- a/platform/linuxbsd/freedesktop_portal_desktop.cpp +++ b/platform/linuxbsd/freedesktop_portal_desktop.cpp @@ -34,7 +34,7 @@ #include "core/crypto/crypto_core.h" #include "core/error/error_macros.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "core/os/os.h" #include "core/string/ustring.h" #include "core/variant/typed_array.h" diff --git a/platform/linuxbsd/tts_linux.cpp b/platform/linuxbsd/tts_linux.cpp index 11b67bfee53..974d9008b92 100644 --- a/platform/linuxbsd/tts_linux.cpp +++ b/platform/linuxbsd/tts_linux.cpp @@ -31,7 +31,7 @@ #include "tts_linux.h" #include "core/config/project_settings.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "servers/display/display_server.h" #include "servers/text/text_server.h" diff --git a/platform/linuxbsd/x11/display_server_x11.cpp b/platform/linuxbsd/x11/display_server_x11.cpp index 9abd69634e9..3c545397aa3 100644 --- a/platform/linuxbsd/x11/display_server_x11.cpp +++ b/platform/linuxbsd/x11/display_server_x11.cpp @@ -38,7 +38,7 @@ #include "core/input/input.h" #include "core/io/file_access.h" #include "core/math/math_funcs.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "core/os/main_loop.h" #include "core/os/os.h" #include "core/string/print_string.h" diff --git a/platform/macos/display_server_macos.mm b/platform/macos/display_server_macos.mm index 7f071a37045..134e006f694 100644 --- a/platform/macos/display_server_macos.mm +++ b/platform/macos/display_server_macos.mm @@ -55,7 +55,7 @@ #include "core/io/file_access.h" #include "core/io/marshalls.h" #include "core/math/geometry_2d.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "core/os/keyboard.h" #include "core/os/main_loop.h" #include "core/os/os.h" diff --git a/platform/macos/native_menu_macos.mm b/platform/macos/native_menu_macos.mm index d15139e3e92..74d94b97379 100644 --- a/platform/macos/native_menu_macos.mm +++ b/platform/macos/native_menu_macos.mm @@ -34,7 +34,7 @@ #import "godot_menu_item.h" #import "key_mapping_macos.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "scene/resources/image_texture.h" void NativeMenuMacOS::_register_system_menus(NSMenu *p_main_menu, NSMenu *p_application_menu, NSMenu *p_window_menu, NSMenu *p_help_menu, NSMenu *p_dock_menu) { diff --git a/platform/web/display_server_web.cpp b/platform/web/display_server_web.cpp index 04a2776f0e6..afbd22bc7cf 100644 --- a/platform/web/display_server_web.cpp +++ b/platform/web/display_server_web.cpp @@ -37,14 +37,13 @@ #include "core/config/project_settings.h" #include "core/input/input.h" #include "core/input/input_event.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "core/os/main_loop.h" #include "core/os/os.h" #include "servers/display/native_menu.h" #include "servers/rendering/dummy/rasterizer_dummy.h" #ifdef PROXY_TO_PTHREAD_ENABLED -#include "core/object/callable_method_pointer.h" #endif #ifdef GLES3_ENABLED diff --git a/platform/web/editor/web_tools_editor_plugin.cpp b/platform/web/editor/web_tools_editor_plugin.cpp index f7eeedd864e..812106c52a8 100644 --- a/platform/web/editor/web_tools_editor_plugin.cpp +++ b/platform/web/editor/web_tools_editor_plugin.cpp @@ -34,7 +34,7 @@ #include "core/config/project_settings.h" #include "core/io/dir_access.h" #include "core/io/file_access.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "core/os/time.h" #include "editor/editor_node.h" #include "editor/export/project_zip_packer.h" diff --git a/platform/web/javascript_bridge_singleton.cpp b/platform/web/javascript_bridge_singleton.cpp index 1d59ea025c1..d3a62038799 100644 --- a/platform/web/javascript_bridge_singleton.cpp +++ b/platform/web/javascript_bridge_singleton.cpp @@ -35,7 +35,7 @@ #include #ifdef PROXY_TO_PTHREAD_ENABLED -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #endif extern "C" { diff --git a/platform/web/webmidi_driver.cpp b/platform/web/webmidi_driver.cpp index 51c58344419..6925f82e954 100644 --- a/platform/web/webmidi_driver.cpp +++ b/platform/web/webmidi_driver.cpp @@ -31,7 +31,7 @@ #include "webmidi_driver.h" #ifdef PROXY_TO_PTHREAD_ENABLED -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #endif MIDIDriverWebMidi *MIDIDriverWebMidi::get_singleton() { diff --git a/platform/windows/display_server_windows.cpp b/platform/windows/display_server_windows.cpp index 0634a2bca6e..a38742bdff8 100644 --- a/platform/windows/display_server_windows.cpp +++ b/platform/windows/display_server_windows.cpp @@ -41,7 +41,7 @@ #include "core/io/file_access.h" #include "core/io/marshalls.h" #include "core/io/xml_parser.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "core/os/main_loop.h" #include "core/os/os.h" #include "core/version.h" diff --git a/scene/2d/animated_sprite_2d.cpp b/scene/2d/animated_sprite_2d.cpp index 7d5521dee09..27d17fa0b6a 100644 --- a/scene/2d/animated_sprite_2d.cpp +++ b/scene/2d/animated_sprite_2d.cpp @@ -31,6 +31,7 @@ #include "animated_sprite_2d.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/main/viewport.h" #include "servers/display/accessibility_server.h" diff --git a/scene/2d/audio_stream_player_2d.cpp b/scene/2d/audio_stream_player_2d.cpp index 84db948d848..429805f2779 100644 --- a/scene/2d/audio_stream_player_2d.cpp +++ b/scene/2d/audio_stream_player_2d.cpp @@ -32,6 +32,7 @@ #include "audio_stream_player_2d.compat.inc" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/2d/audio_listener_2d.h" #include "scene/audio/audio_stream_player_internal.h" diff --git a/scene/2d/camera_2d.cpp b/scene/2d/camera_2d.cpp index bf3fc5e427b..013f2cbd23d 100644 --- a/scene/2d/camera_2d.cpp +++ b/scene/2d/camera_2d.cpp @@ -33,6 +33,7 @@ #include "core/config/engine.h" #include "core/config/project_settings.h" #include "core/input/input.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/main/viewport.h" diff --git a/scene/2d/cpu_particles_2d.cpp b/scene/2d/cpu_particles_2d.cpp index ac930e91fad..f1088680031 100644 --- a/scene/2d/cpu_particles_2d.cpp +++ b/scene/2d/cpu_particles_2d.cpp @@ -34,6 +34,7 @@ #include "core/config/engine.h" #include "core/math/random_number_generator.h" #include "core/math/transform_interpolator.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/2d/gpu_particles_2d.h" #include "scene/resources/atlas_texture.h" diff --git a/scene/2d/gpu_particles_2d.cpp b/scene/2d/gpu_particles_2d.cpp index 3236abbfb32..91c0f3d076d 100644 --- a/scene/2d/gpu_particles_2d.cpp +++ b/scene/2d/gpu_particles_2d.cpp @@ -32,6 +32,7 @@ #include "gpu_particles_2d.compat.inc" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "scene/2d/cpu_particles_2d.h" diff --git a/scene/2d/light_occluder_2d.cpp b/scene/2d/light_occluder_2d.cpp index 965c54d6696..a629ccc688b 100644 --- a/scene/2d/light_occluder_2d.cpp +++ b/scene/2d/light_occluder_2d.cpp @@ -32,6 +32,7 @@ #include "core/config/engine.h" #include "core/math/geometry_2d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "servers/rendering/rendering_server.h" diff --git a/scene/2d/line_2d.cpp b/scene/2d/line_2d.cpp index 82b459a152a..da6de18a8aa 100644 --- a/scene/2d/line_2d.cpp +++ b/scene/2d/line_2d.cpp @@ -31,6 +31,7 @@ #include "line_2d.h" #include "core/math/geometry_2d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "line_builder.h" #include "servers/rendering/rendering_server.h" diff --git a/scene/2d/mesh_instance_2d.cpp b/scene/2d/mesh_instance_2d.cpp index bc0b096c80f..b063b97cbe1 100644 --- a/scene/2d/mesh_instance_2d.cpp +++ b/scene/2d/mesh_instance_2d.cpp @@ -30,6 +30,7 @@ #include "mesh_instance_2d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #ifndef NAVIGATION_2D_DISABLED diff --git a/scene/2d/multimesh_instance_2d.cpp b/scene/2d/multimesh_instance_2d.cpp index 1c864b5414f..1526a62c1f9 100644 --- a/scene/2d/multimesh_instance_2d.cpp +++ b/scene/2d/multimesh_instance_2d.cpp @@ -30,6 +30,7 @@ #include "multimesh_instance_2d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #ifndef NAVIGATION_2D_DISABLED diff --git a/scene/2d/navigation/navigation_agent_2d.cpp b/scene/2d/navigation/navigation_agent_2d.cpp index 56b38b50a3c..21fcbeb8c9e 100644 --- a/scene/2d/navigation/navigation_agent_2d.cpp +++ b/scene/2d/navigation/navigation_agent_2d.cpp @@ -31,6 +31,7 @@ #include "navigation_agent_2d.h" #include "core/math/geometry_2d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/2d/navigation/navigation_link_2d.h" #include "scene/resources/world_2d.h" diff --git a/scene/2d/navigation/navigation_obstacle_2d.cpp b/scene/2d/navigation/navigation_obstacle_2d.cpp index 4f3df8cf2f4..7de62154ab8 100644 --- a/scene/2d/navigation/navigation_obstacle_2d.cpp +++ b/scene/2d/navigation/navigation_obstacle_2d.cpp @@ -32,6 +32,7 @@ #include "core/config/engine.h" #include "core/math/geometry_2d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/resources/2d/navigation_mesh_source_geometry_data_2d.h" #include "scene/resources/2d/navigation_polygon.h" diff --git a/scene/2d/navigation/navigation_region_2d.cpp b/scene/2d/navigation/navigation_region_2d.cpp index 5a42df679d8..f05e287874f 100644 --- a/scene/2d/navigation/navigation_region_2d.cpp +++ b/scene/2d/navigation/navigation_region_2d.cpp @@ -32,6 +32,7 @@ #include "core/config/engine.h" #include "core/math/random_pcg.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/resources/world_2d.h" #include "servers/navigation_2d/navigation_server_2d.h" diff --git a/scene/2d/node_2d.cpp b/scene/2d/node_2d.cpp index 56c4f73fe79..6f32cb6e929 100644 --- a/scene/2d/node_2d.cpp +++ b/scene/2d/node_2d.cpp @@ -30,6 +30,7 @@ #include "node_2d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/main/viewport.h" #include "servers/display/accessibility_server.h" diff --git a/scene/2d/path_2d.cpp b/scene/2d/path_2d.cpp index 61494a2da08..446f6e2e297 100644 --- a/scene/2d/path_2d.cpp +++ b/scene/2d/path_2d.cpp @@ -32,6 +32,7 @@ #include "core/config/engine.h" #include "core/math/geometry_2d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/main/timer.h" #include "scene/resources/mesh.h" diff --git a/scene/2d/physics/animatable_body_2d.cpp b/scene/2d/physics/animatable_body_2d.cpp index 84d633e42ea..ecbc5528e23 100644 --- a/scene/2d/physics/animatable_body_2d.cpp +++ b/scene/2d/physics/animatable_body_2d.cpp @@ -31,6 +31,7 @@ #include "animatable_body_2d.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" void AnimatableBody2D::set_sync_to_physics(bool p_enable) { diff --git a/scene/2d/physics/area_2d.cpp b/scene/2d/physics/area_2d.cpp index ae0fcec8a74..9b514413731 100644 --- a/scene/2d/physics/area_2d.cpp +++ b/scene/2d/physics/area_2d.cpp @@ -31,6 +31,7 @@ #include "area_2d.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "servers/audio/audio_server.h" diff --git a/scene/2d/physics/collision_shape_2d.cpp b/scene/2d/physics/collision_shape_2d.cpp index fb8e3fe5bc7..9e095317d9c 100644 --- a/scene/2d/physics/collision_shape_2d.cpp +++ b/scene/2d/physics/collision_shape_2d.cpp @@ -31,6 +31,7 @@ #include "collision_shape_2d.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/2d/physics/area_2d.h" #include "scene/2d/physics/collision_object_2d.h" diff --git a/scene/2d/physics/joints/joint_2d.cpp b/scene/2d/physics/joints/joint_2d.cpp index 5550111087b..46eaedded1c 100644 --- a/scene/2d/physics/joints/joint_2d.cpp +++ b/scene/2d/physics/joints/joint_2d.cpp @@ -31,6 +31,7 @@ #include "joint_2d.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/2d/physics/physics_body_2d.h" diff --git a/scene/2d/physics/rigid_body_2d.cpp b/scene/2d/physics/rigid_body_2d.cpp index 7429a6368fd..90d4f165b17 100644 --- a/scene/2d/physics/rigid_body_2d.cpp +++ b/scene/2d/physics/rigid_body_2d.cpp @@ -31,6 +31,7 @@ #include "rigid_body_2d.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" void RigidBody2D::_body_enter_tree(ObjectID p_id) { diff --git a/scene/2d/physics/shape_cast_2d.cpp b/scene/2d/physics/shape_cast_2d.cpp index 72a6828c2de..b81df9c5c54 100644 --- a/scene/2d/physics/shape_cast_2d.cpp +++ b/scene/2d/physics/shape_cast_2d.cpp @@ -31,6 +31,7 @@ #include "shape_cast_2d.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/2d/physics/collision_object_2d.h" #include "scene/resources/world_2d.h" diff --git a/scene/2d/physics/static_body_2d.cpp b/scene/2d/physics/static_body_2d.cpp index ec3735f3c9f..410e721ce39 100644 --- a/scene/2d/physics/static_body_2d.cpp +++ b/scene/2d/physics/static_body_2d.cpp @@ -30,6 +30,7 @@ #include "static_body_2d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #ifndef NAVIGATION_2D_DISABLED diff --git a/scene/2d/physics/touch_screen_button.cpp b/scene/2d/physics/touch_screen_button.cpp index 6aad3fc71e4..3bf6b2e81f7 100644 --- a/scene/2d/physics/touch_screen_button.cpp +++ b/scene/2d/physics/touch_screen_button.cpp @@ -32,6 +32,7 @@ #include "core/config/engine.h" #include "core/input/input.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/main/viewport.h" #include "servers/display/accessibility_server.h" diff --git a/scene/2d/polygon_2d.cpp b/scene/2d/polygon_2d.cpp index 00cec5d843d..8cbc356ac6b 100644 --- a/scene/2d/polygon_2d.cpp +++ b/scene/2d/polygon_2d.cpp @@ -32,6 +32,7 @@ #include "core/config/engine.h" #include "core/math/geometry_2d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/2d/skeleton_2d.h" #include "servers/rendering/rendering_server.h" diff --git a/scene/2d/skeleton_2d.cpp b/scene/2d/skeleton_2d.cpp index c7bb34d0cca..57bf619378c 100644 --- a/scene/2d/skeleton_2d.cpp +++ b/scene/2d/skeleton_2d.cpp @@ -32,6 +32,7 @@ #include "core/config/engine.h" #include "core/math/transform_interpolator.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "servers/rendering/rendering_server.h" diff --git a/scene/2d/sprite_2d.cpp b/scene/2d/sprite_2d.cpp index f825228ce30..9a7aca710ff 100644 --- a/scene/2d/sprite_2d.cpp +++ b/scene/2d/sprite_2d.cpp @@ -32,6 +32,7 @@ #include "core/config/engine.h" #include "core/input/input.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/main/viewport.h" #include "servers/display/accessibility_server.h" diff --git a/scene/2d/tile_map.cpp b/scene/2d/tile_map.cpp index 34b9dc066f4..4b541292a15 100644 --- a/scene/2d/tile_map.cpp +++ b/scene/2d/tile_map.cpp @@ -33,6 +33,7 @@ #include "core/config/engine.h" #include "core/io/marshalls.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #ifndef NAVIGATION_2D_DISABLED diff --git a/scene/2d/tile_map_layer.cpp b/scene/2d/tile_map_layer.cpp index 843eb5d6911..9e28d86a268 100644 --- a/scene/2d/tile_map_layer.cpp +++ b/scene/2d/tile_map_layer.cpp @@ -34,6 +34,7 @@ #include "core/io/marshalls.h" #include "core/math/geometry_2d.h" #include "core/math/random_pcg.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/templates/a_hash_map.h" #include "scene/2d/tile_map.h" diff --git a/scene/2d/visible_on_screen_notifier_2d.cpp b/scene/2d/visible_on_screen_notifier_2d.cpp index 2b958059092..685bb14da8a 100644 --- a/scene/2d/visible_on_screen_notifier_2d.cpp +++ b/scene/2d/visible_on_screen_notifier_2d.cpp @@ -31,6 +31,7 @@ #include "visible_on_screen_notifier_2d.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "servers/rendering/rendering_server.h" diff --git a/scene/3d/audio_stream_player_3d.cpp b/scene/3d/audio_stream_player_3d.cpp index 3706ac74128..2b53885b80c 100644 --- a/scene/3d/audio_stream_player_3d.cpp +++ b/scene/3d/audio_stream_player_3d.cpp @@ -32,6 +32,7 @@ #include "audio_stream_player_3d.compat.inc" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/3d/audio_listener_3d.h" #include "scene/3d/camera_3d.h" diff --git a/scene/3d/bone_attachment_3d.cpp b/scene/3d/bone_attachment_3d.cpp index e40af113a72..c7b16969dfa 100644 --- a/scene/3d/bone_attachment_3d.cpp +++ b/scene/3d/bone_attachment_3d.cpp @@ -32,6 +32,7 @@ #include "bone_attachment_3d.compat.inc" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" void BoneAttachment3D::_validate_property(PropertyInfo &p_property) const { diff --git a/scene/3d/bone_twist_disperser_3d.cpp b/scene/3d/bone_twist_disperser_3d.cpp index e268f8ff8bc..3cca144894e 100644 --- a/scene/3d/bone_twist_disperser_3d.cpp +++ b/scene/3d/bone_twist_disperser_3d.cpp @@ -30,6 +30,7 @@ #include "bone_twist_disperser_3d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" bool BoneTwistDisperser3D::_set(const StringName &p_path, const Variant &p_value) { diff --git a/scene/3d/camera_3d.cpp b/scene/3d/camera_3d.cpp index 3eb24c7f3f9..a42abf59fb8 100644 --- a/scene/3d/camera_3d.cpp +++ b/scene/3d/camera_3d.cpp @@ -33,6 +33,7 @@ #include "core/config/engine.h" #include "core/math/projection.h" #include "core/math/transform_interpolator.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/main/viewport.h" #include "servers/rendering/rendering_server.h" diff --git a/scene/3d/cpu_particles_3d.cpp b/scene/3d/cpu_particles_3d.cpp index 97f773f4181..4f344276ced 100644 --- a/scene/3d/cpu_particles_3d.cpp +++ b/scene/3d/cpu_particles_3d.cpp @@ -33,6 +33,7 @@ #include "core/config/engine.h" #include "core/math/random_number_generator.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/3d/camera_3d.h" #include "scene/3d/gpu_particles_3d.h" diff --git a/scene/3d/gpu_particles_3d.cpp b/scene/3d/gpu_particles_3d.cpp index 55d5d972c01..15564fd8187 100644 --- a/scene/3d/gpu_particles_3d.cpp +++ b/scene/3d/gpu_particles_3d.cpp @@ -32,6 +32,7 @@ #include "gpu_particles_3d.compat.inc" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "scene/3d/cpu_particles_3d.h" diff --git a/scene/3d/ik_modifier_3d.cpp b/scene/3d/ik_modifier_3d.cpp index 4e768ef6491..17bc3126377 100644 --- a/scene/3d/ik_modifier_3d.cpp +++ b/scene/3d/ik_modifier_3d.cpp @@ -31,6 +31,7 @@ #include "ik_modifier_3d.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" void IKModifier3D::_notification(int p_what) { diff --git a/scene/3d/iterate_ik_3d.cpp b/scene/3d/iterate_ik_3d.cpp index f8da9a57e67..8e57a9a224b 100644 --- a/scene/3d/iterate_ik_3d.cpp +++ b/scene/3d/iterate_ik_3d.cpp @@ -30,6 +30,7 @@ #include "iterate_ik_3d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" bool IterateIK3D::_set(const StringName &p_path, const Variant &p_value) { diff --git a/scene/3d/label_3d.cpp b/scene/3d/label_3d.cpp index b6f921b2409..4d182e8e850 100644 --- a/scene/3d/label_3d.cpp +++ b/scene/3d/label_3d.cpp @@ -31,6 +31,7 @@ #include "label_3d.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/main/window.h" #include "scene/resources/mesh.h" diff --git a/scene/3d/limit_angular_velocity_modifier_3d.cpp b/scene/3d/limit_angular_velocity_modifier_3d.cpp index b4b414ea8c7..3ed2aa1d751 100644 --- a/scene/3d/limit_angular_velocity_modifier_3d.cpp +++ b/scene/3d/limit_angular_velocity_modifier_3d.cpp @@ -30,6 +30,7 @@ #include "limit_angular_velocity_modifier_3d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" bool LimitAngularVelocityModifier3D::_set(const StringName &p_path, const Variant &p_value) { diff --git a/scene/3d/mesh_instance_3d.cpp b/scene/3d/mesh_instance_3d.cpp index e7df4314751..36c3e1d0d3c 100644 --- a/scene/3d/mesh_instance_3d.cpp +++ b/scene/3d/mesh_instance_3d.cpp @@ -30,6 +30,7 @@ #include "mesh_instance_3d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/3d/skeleton_3d.h" diff --git a/scene/3d/multimesh_instance_3d.cpp b/scene/3d/multimesh_instance_3d.cpp index 52efeb1e26c..e257576c8e3 100644 --- a/scene/3d/multimesh_instance_3d.cpp +++ b/scene/3d/multimesh_instance_3d.cpp @@ -30,6 +30,7 @@ #include "multimesh_instance_3d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #ifndef NAVIGATION_3D_DISABLED diff --git a/scene/3d/navigation/navigation_agent_3d.cpp b/scene/3d/navigation/navigation_agent_3d.cpp index 172afce60cd..9603a254e27 100644 --- a/scene/3d/navigation/navigation_agent_3d.cpp +++ b/scene/3d/navigation/navigation_agent_3d.cpp @@ -31,6 +31,7 @@ #include "navigation_agent_3d.h" #include "core/math/geometry_3d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/3d/navigation/navigation_link_3d.h" #include "servers/navigation_3d/navigation_server_3d.h" diff --git a/scene/3d/navigation/navigation_obstacle_3d.cpp b/scene/3d/navigation/navigation_obstacle_3d.cpp index 54d4eb80f82..94bd5f7d6a4 100644 --- a/scene/3d/navigation/navigation_obstacle_3d.cpp +++ b/scene/3d/navigation/navigation_obstacle_3d.cpp @@ -32,6 +32,7 @@ #include "core/config/engine.h" #include "core/math/geometry_2d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/resources/3d/navigation_mesh_source_geometry_data_3d.h" #include "scene/resources/navigation_mesh.h" diff --git a/scene/3d/navigation/navigation_region_3d.cpp b/scene/3d/navigation/navigation_region_3d.cpp index 778707b83a8..50b13ffb9e5 100644 --- a/scene/3d/navigation/navigation_region_3d.cpp +++ b/scene/3d/navigation/navigation_region_3d.cpp @@ -32,6 +32,7 @@ #include "core/config/engine.h" #include "core/math/random_pcg.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/resources/3d/navigation_mesh_source_geometry_data_3d.h" #include "servers/navigation_3d/navigation_server_3d.h" diff --git a/scene/3d/node_3d.cpp b/scene/3d/node_3d.cpp index ca1f027afc1..10596f4c897 100644 --- a/scene/3d/node_3d.cpp +++ b/scene/3d/node_3d.cpp @@ -32,6 +32,7 @@ #include "core/config/engine.h" #include "core/math/transform_interpolator.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/3d/visual_instance_3d.h" #include "scene/main/viewport.h" diff --git a/scene/3d/occluder_instance_3d.cpp b/scene/3d/occluder_instance_3d.cpp index 38a9ed66fe0..8d1374be2fa 100644 --- a/scene/3d/occluder_instance_3d.cpp +++ b/scene/3d/occluder_instance_3d.cpp @@ -35,6 +35,7 @@ #include "core/io/marshalls.h" #include "core/math/geometry_2d.h" #include "core/math/triangulate.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/3d/importer_mesh_instance_3d.h" #include "scene/3d/mesh_instance_3d.h" diff --git a/scene/3d/path_3d.cpp b/scene/3d/path_3d.cpp index cac320d17e6..9a2ef4d1170 100644 --- a/scene/3d/path_3d.cpp +++ b/scene/3d/path_3d.cpp @@ -31,6 +31,7 @@ #include "path_3d.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/resources/mesh.h" #include "servers/rendering/rendering_server.h" diff --git a/scene/3d/physics/animatable_body_3d.cpp b/scene/3d/physics/animatable_body_3d.cpp index e09092470fe..b8fc4e47b5a 100644 --- a/scene/3d/physics/animatable_body_3d.cpp +++ b/scene/3d/physics/animatable_body_3d.cpp @@ -31,6 +31,7 @@ #include "animatable_body_3d.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" Vector3 AnimatableBody3D::get_linear_velocity() const { diff --git a/scene/3d/physics/area_3d.cpp b/scene/3d/physics/area_3d.cpp index bba7a47f484..e904ee26636 100644 --- a/scene/3d/physics/area_3d.cpp +++ b/scene/3d/physics/area_3d.cpp @@ -31,6 +31,7 @@ #include "area_3d.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "servers/audio/audio_server.h" diff --git a/scene/3d/physics/collision_object_3d.cpp b/scene/3d/physics/collision_object_3d.cpp index f9ab7685920..90559334abe 100644 --- a/scene/3d/physics/collision_object_3d.cpp +++ b/scene/3d/physics/collision_object_3d.cpp @@ -31,6 +31,7 @@ #include "collision_object_3d.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/resources/3d/shape_3d.h" #include "scene/resources/mesh.h" diff --git a/scene/3d/physics/collision_shape_3d.cpp b/scene/3d/physics/collision_shape_3d.cpp index c0485cbe114..1744195d11b 100644 --- a/scene/3d/physics/collision_shape_3d.cpp +++ b/scene/3d/physics/collision_shape_3d.cpp @@ -30,6 +30,7 @@ #include "collision_shape_3d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/3d/mesh_instance_3d.h" #include "scene/3d/physics/character_body_3d.h" diff --git a/scene/3d/physics/joints/joint_3d.cpp b/scene/3d/physics/joints/joint_3d.cpp index e5ebf5f1d1e..0f09afa1ef9 100644 --- a/scene/3d/physics/joints/joint_3d.cpp +++ b/scene/3d/physics/joints/joint_3d.cpp @@ -30,6 +30,7 @@ #include "joint_3d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" void Joint3D::_disconnect_signals() { diff --git a/scene/3d/physics/physical_bone_3d.cpp b/scene/3d/physics/physical_bone_3d.cpp index cea04410940..4912cec46bb 100644 --- a/scene/3d/physics/physical_bone_3d.cpp +++ b/scene/3d/physics/physical_bone_3d.cpp @@ -31,6 +31,7 @@ #include "physical_bone_3d.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/3d/physics/physical_bone_simulator_3d.h" diff --git a/scene/3d/physics/physical_bone_simulator_3d.cpp b/scene/3d/physics/physical_bone_simulator_3d.cpp index 97e1c6b37bc..7d6ce68cad2 100644 --- a/scene/3d/physics/physical_bone_simulator_3d.cpp +++ b/scene/3d/physics/physical_bone_simulator_3d.cpp @@ -31,6 +31,7 @@ #include "physical_bone_simulator_3d.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/3d/physics/physical_bone_3d.h" diff --git a/scene/3d/physics/rigid_body_3d.cpp b/scene/3d/physics/rigid_body_3d.cpp index 745f16bf5aa..9ac2db9705b 100644 --- a/scene/3d/physics/rigid_body_3d.cpp +++ b/scene/3d/physics/rigid_body_3d.cpp @@ -31,6 +31,7 @@ #include "rigid_body_3d.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" void RigidBody3D::_body_enter_tree(ObjectID p_id) { diff --git a/scene/3d/physics/shape_cast_3d.cpp b/scene/3d/physics/shape_cast_3d.cpp index e32628678e1..a75c9d0ceac 100644 --- a/scene/3d/physics/shape_cast_3d.cpp +++ b/scene/3d/physics/shape_cast_3d.cpp @@ -31,6 +31,7 @@ #include "shape_cast_3d.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/3d/physics/collision_object_3d.h" #include "scene/resources/3d/concave_polygon_shape_3d.h" diff --git a/scene/3d/physics/soft_body_3d.cpp b/scene/3d/physics/soft_body_3d.cpp index dc41c863b3c..2e7d2c25b36 100644 --- a/scene/3d/physics/soft_body_3d.cpp +++ b/scene/3d/physics/soft_body_3d.cpp @@ -32,6 +32,7 @@ #include "soft_body_3d.compat.inc" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/3d/physics/physics_body_3d.h" #include "servers/rendering/rendering_server.h" diff --git a/scene/3d/physics/static_body_3d.cpp b/scene/3d/physics/static_body_3d.cpp index f34235bb6c8..3fc269cb7fa 100644 --- a/scene/3d/physics/static_body_3d.cpp +++ b/scene/3d/physics/static_body_3d.cpp @@ -30,6 +30,7 @@ #include "static_body_3d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #ifndef NAVIGATION_3D_DISABLED diff --git a/scene/3d/retarget_modifier_3d.cpp b/scene/3d/retarget_modifier_3d.cpp index abafe17533c..80cb8816c25 100644 --- a/scene/3d/retarget_modifier_3d.cpp +++ b/scene/3d/retarget_modifier_3d.cpp @@ -30,6 +30,7 @@ #include "retarget_modifier_3d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" PackedStringArray RetargetModifier3D::get_configuration_warnings() const { diff --git a/scene/3d/skeleton_3d.cpp b/scene/3d/skeleton_3d.cpp index 668f13d849d..0dcb1238d43 100644 --- a/scene/3d/skeleton_3d.cpp +++ b/scene/3d/skeleton_3d.cpp @@ -31,6 +31,7 @@ #include "skeleton_3d.h" #include "skeleton_3d.compat.inc" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/3d/skeleton_modifier_3d.h" #if !defined(DISABLE_DEPRECATED) && !defined(PHYSICS_3D_DISABLED) diff --git a/scene/3d/skeleton_3d.h b/scene/3d/skeleton_3d.h index 66ae8bd7c6f..cbeac91ded5 100644 --- a/scene/3d/skeleton_3d.h +++ b/scene/3d/skeleton_3d.h @@ -54,7 +54,7 @@ protected: static void _bind_methods(); public: - // Public for use with callable_mp. + // Public for use as signal callback. void _skin_changed(); RID get_skeleton() const; diff --git a/scene/3d/spring_bone_simulator_3d.cpp b/scene/3d/spring_bone_simulator_3d.cpp index 3c87e6e872e..0c722d0b652 100644 --- a/scene/3d/spring_bone_simulator_3d.cpp +++ b/scene/3d/spring_bone_simulator_3d.cpp @@ -32,6 +32,7 @@ #include "spring_bone_simulator_3d.compat.inc" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/3d/spring_bone_collision_3d.h" diff --git a/scene/3d/sprite_3d.cpp b/scene/3d/sprite_3d.cpp index 1a74f971dcc..34a79f0bf3d 100644 --- a/scene/3d/sprite_3d.cpp +++ b/scene/3d/sprite_3d.cpp @@ -31,6 +31,7 @@ #include "sprite_3d.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/resources/atlas_texture.h" #include "scene/resources/mesh.h" diff --git a/scene/3d/visible_on_screen_notifier_3d.cpp b/scene/3d/visible_on_screen_notifier_3d.cpp index efd9ead4aea..2c9259e483b 100644 --- a/scene/3d/visible_on_screen_notifier_3d.cpp +++ b/scene/3d/visible_on_screen_notifier_3d.cpp @@ -31,6 +31,7 @@ #include "visible_on_screen_notifier_3d.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "servers/rendering/rendering_server.h" diff --git a/scene/3d/visual_instance_3d.cpp b/scene/3d/visual_instance_3d.cpp index eac4fa4ec91..505d5aaffa2 100644 --- a/scene/3d/visual_instance_3d.cpp +++ b/scene/3d/visual_instance_3d.cpp @@ -33,6 +33,7 @@ STATIC_ASSERT_INCOMPLETE_TYPE(class, RenderingServer); #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "scene/resources/material.h" diff --git a/scene/3d/xr/xr_body_modifier_3d.cpp b/scene/3d/xr/xr_body_modifier_3d.cpp index fb79ceb7128..0f6e294c5f7 100644 --- a/scene/3d/xr/xr_body_modifier_3d.cpp +++ b/scene/3d/xr/xr_body_modifier_3d.cpp @@ -30,6 +30,7 @@ #include "xr_body_modifier_3d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/3d/skeleton_3d.h" #include "servers/xr/xr_server.h" diff --git a/scene/3d/xr/xr_hand_modifier_3d.cpp b/scene/3d/xr/xr_hand_modifier_3d.cpp index 545602b1c25..1ba31857812 100644 --- a/scene/3d/xr/xr_hand_modifier_3d.cpp +++ b/scene/3d/xr/xr_hand_modifier_3d.cpp @@ -31,6 +31,7 @@ #include "xr_hand_modifier_3d.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "servers/xr/xr_server.h" diff --git a/scene/3d/xr/xr_nodes.cpp b/scene/3d/xr/xr_nodes.cpp index 9385aa7e2b9..ee7b8578b7b 100644 --- a/scene/3d/xr/xr_nodes.cpp +++ b/scene/3d/xr/xr_nodes.cpp @@ -32,6 +32,7 @@ #include "core/config/engine.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/main/viewport.h" #include "servers/xr/xr_interface.h" diff --git a/scene/animation/animation_blend_space_1d.cpp b/scene/animation/animation_blend_space_1d.cpp index 691e6a1b31e..e98eeec12d4 100644 --- a/scene/animation/animation_blend_space_1d.cpp +++ b/scene/animation/animation_blend_space_1d.cpp @@ -32,6 +32,7 @@ #include "animation_blend_tree.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" void AnimationNodeBlendSpace1D::get_parameter_list(List *r_list) const { diff --git a/scene/animation/animation_blend_space_2d.cpp b/scene/animation/animation_blend_space_2d.cpp index d3a23f8fcc5..323fac5d00d 100644 --- a/scene/animation/animation_blend_space_2d.cpp +++ b/scene/animation/animation_blend_space_2d.cpp @@ -33,6 +33,7 @@ #include "animation_blend_tree.h" #include "core/math/geometry_2d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/resources/material.h" diff --git a/scene/animation/animation_blend_tree.cpp b/scene/animation/animation_blend_tree.cpp index 95417808d0b..86fec0d8789 100644 --- a/scene/animation/animation_blend_tree.cpp +++ b/scene/animation/animation_blend_tree.cpp @@ -31,6 +31,7 @@ #include "animation_blend_tree.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/resources/animation.h" diff --git a/scene/animation/animation_mixer.cpp b/scene/animation/animation_mixer.cpp index aad583a060d..fe103534f86 100644 --- a/scene/animation/animation_mixer.cpp +++ b/scene/animation/animation_mixer.cpp @@ -33,6 +33,7 @@ #include "core/config/engine.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/string/string_name.h" #include "scene/2d/audio_stream_player_2d.h" diff --git a/scene/animation/animation_node_state_machine.cpp b/scene/animation/animation_node_state_machine.cpp index b3fc7aa23cc..6a3e2f6bba4 100644 --- a/scene/animation/animation_node_state_machine.cpp +++ b/scene/animation/animation_node_state_machine.cpp @@ -31,6 +31,7 @@ #include "animation_node_state_machine.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" ///////////////////////////////////////////////// diff --git a/scene/animation/animation_player.cpp b/scene/animation/animation_player.cpp index 9a6812ab9aa..5d1400573dd 100644 --- a/scene/animation/animation_player.cpp +++ b/scene/animation/animation_player.cpp @@ -32,6 +32,7 @@ #include "animation_player.compat.inc" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" diff --git a/scene/animation/animation_tree.cpp b/scene/animation/animation_tree.cpp index 48983c2485c..9de9abfe0bb 100644 --- a/scene/animation/animation_tree.cpp +++ b/scene/animation/animation_tree.cpp @@ -32,6 +32,7 @@ #include "animation_tree.compat.inc" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/animation/animation_blend_tree.h" #include "scene/animation/animation_player.h" diff --git a/scene/audio/audio_stream_player.cpp b/scene/audio/audio_stream_player.cpp index 33f57e820e2..1eaa80718ec 100644 --- a/scene/audio/audio_stream_player.cpp +++ b/scene/audio/audio_stream_player.cpp @@ -31,6 +31,7 @@ #include "audio_stream_player.h" #include "audio_stream_player.compat.inc" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/audio/audio_stream_player_internal.h" #include "servers/audio/audio_stream.h" diff --git a/scene/audio/audio_stream_player_internal.cpp b/scene/audio/audio_stream_player_internal.cpp index 72c58602b39..adac5c96a8c 100644 --- a/scene/audio/audio_stream_player_internal.cpp +++ b/scene/audio/audio_stream_player_internal.cpp @@ -31,6 +31,7 @@ #include "audio_stream_player_internal.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "scene/main/node.h" #include "servers/audio/audio_stream.h" diff --git a/scene/debugger/runtime_node_select.cpp b/scene/debugger/runtime_node_select.cpp index 38293e1c0ac..03d004730dd 100644 --- a/scene/debugger/runtime_node_select.cpp +++ b/scene/debugger/runtime_node_select.cpp @@ -39,6 +39,7 @@ #include "core/input/input.h" #include "core/input/input_event.h" #include "core/math/geometry_3d.h" +#include "core/object/callable_mp.h" #include "scene/2d/camera_2d.h" #include "scene/debugger/scene_debugger_object.h" #include "scene/gui/popup_menu.h" diff --git a/scene/debugger/scene_debugger.cpp b/scene/debugger/scene_debugger.cpp index 54606cc76ab..32f9cbae672 100644 --- a/scene/debugger/scene_debugger.cpp +++ b/scene/debugger/scene_debugger.cpp @@ -38,6 +38,7 @@ #include "core/io/resource_loader.h" #include "core/io/resource_saver.h" #include "core/math/math_fieldwise.h" +#include "core/object/callable_mp.h" #include "core/os/os.h" #include "core/os/time.h" #include "core/templates/local_vector.h" diff --git a/scene/gui/base_button.cpp b/scene/gui/base_button.cpp index 1887153a4af..598670b58f5 100644 --- a/scene/gui/base_button.cpp +++ b/scene/gui/base_button.cpp @@ -31,6 +31,7 @@ #include "base_button.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/gui/label.h" #include "scene/main/timer.h" diff --git a/scene/gui/button.cpp b/scene/gui/button.cpp index 0caedc0552a..6f805b319c3 100644 --- a/scene/gui/button.cpp +++ b/scene/gui/button.cpp @@ -30,6 +30,7 @@ #include "button.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/gui/dialogs.h" #include "scene/theme/theme_db.h" diff --git a/scene/gui/code_edit.cpp b/scene/gui/code_edit.cpp index 79551855289..a088ebf7f85 100644 --- a/scene/gui/code_edit.cpp +++ b/scene/gui/code_edit.cpp @@ -34,6 +34,7 @@ #include "core/config/engine.h" #include "core/config/project_settings.h" #include "core/input/input.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "core/os/os.h" diff --git a/scene/gui/color_picker.cpp b/scene/gui/color_picker.cpp index 4b44feadde6..a3329ed2ca3 100644 --- a/scene/gui/color_picker.cpp +++ b/scene/gui/color_picker.cpp @@ -34,6 +34,7 @@ #include "core/input/input.h" #include "core/io/image.h" #include "core/math/expression.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "scene/gui/color_mode.h" diff --git a/scene/gui/color_picker_shape.cpp b/scene/gui/color_picker_shape.cpp index 12878da058f..4048d029071 100644 --- a/scene/gui/color_picker_shape.cpp +++ b/scene/gui/color_picker_shape.cpp @@ -31,7 +31,7 @@ #include "color_picker_shape.h" #include "core/input/input.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "scene/gui/margin_container.h" #include "scene/resources/material.h" #include "servers/rendering/rendering_server.h" diff --git a/scene/gui/container.cpp b/scene/gui/container.cpp index f31bec5462a..27ca14eb680 100644 --- a/scene/gui/container.cpp +++ b/scene/gui/container.cpp @@ -30,6 +30,7 @@ #include "container.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "servers/display/accessibility_server.h" diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp index a7bd6fc226a..2c42bc3074a 100644 --- a/scene/gui/control.cpp +++ b/scene/gui/control.cpp @@ -36,6 +36,8 @@ STATIC_ASSERT_INCOMPLETE_TYPE(class, RenderingServer); #include "core/config/engine.h" #include "core/config/project_settings.h" #include "core/input/input_map.h" +#include "core/math/transform_2d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "core/string/string_builder.h" diff --git a/scene/gui/control.h b/scene/gui/control.h index 47ab39f44f8..b00903f67bb 100644 --- a/scene/gui/control.h +++ b/scene/gui/control.h @@ -30,17 +30,17 @@ #pragma once -#include "core/math/transform_2d.h" #include "core/object/gdvirtual.gen.h" #include "scene/main/canvas_item.h" #include "scene/resources/theme.h" #include "servers/display/accessibility_server_enums.h" -class Viewport; class Label; class Panel; -class ThemeOwner; class ThemeContext; +class ThemeOwner; +class Viewport; +struct Transform2D; class Control : public CanvasItem { GDCLASS(Control, CanvasItem); diff --git a/scene/gui/dialogs.cpp b/scene/gui/dialogs.cpp index 13c19c6e72f..ce93ac3e894 100644 --- a/scene/gui/dialogs.cpp +++ b/scene/gui/dialogs.cpp @@ -32,6 +32,7 @@ #include "dialogs.compat.inc" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/gui/line_edit.h" #include "scene/theme/theme_db.h" diff --git a/scene/gui/file_dialog.cpp b/scene/gui/file_dialog.cpp index bce26e17185..d7326e9368b 100644 --- a/scene/gui/file_dialog.cpp +++ b/scene/gui/file_dialog.cpp @@ -34,6 +34,7 @@ #include "core/config/project_settings.h" #include "core/io/dir_access.h" #include "core/io/file_access.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "core/os/os.h" diff --git a/scene/gui/graph_edit.cpp b/scene/gui/graph_edit.cpp index 6fe4cb9b327..0c431c016af 100644 --- a/scene/gui/graph_edit.cpp +++ b/scene/gui/graph_edit.cpp @@ -35,6 +35,7 @@ #include "core/input/input.h" #include "core/math/geometry_2d.h" #include "core/math/math_funcs.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "scene/2d/line_2d.h" diff --git a/scene/gui/graph_node.cpp b/scene/gui/graph_node.cpp index f2ccaffacd5..599d7ae3e8a 100644 --- a/scene/gui/graph_node.cpp +++ b/scene/gui/graph_node.cpp @@ -30,6 +30,7 @@ #include "graph_node.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/gui/box_container.h" #include "scene/gui/graph_edit.h" diff --git a/scene/gui/item_list.cpp b/scene/gui/item_list.cpp index 024a3b9a7a4..964afb43cd0 100644 --- a/scene/gui/item_list.cpp +++ b/scene/gui/item_list.cpp @@ -31,6 +31,7 @@ #include "item_list.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "scene/theme/theme_db.h" diff --git a/scene/gui/label.cpp b/scene/gui/label.cpp index 8d7cfe9c816..1f4f09af753 100644 --- a/scene/gui/label.cpp +++ b/scene/gui/label.cpp @@ -30,6 +30,7 @@ #include "label.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/gui/container.h" #include "scene/theme/theme_db.h" diff --git a/scene/gui/line_edit.cpp b/scene/gui/line_edit.cpp index 1cf4cdaba2c..f3db9b7691c 100644 --- a/scene/gui/line_edit.cpp +++ b/scene/gui/line_edit.cpp @@ -35,6 +35,7 @@ #include "core/config/project_settings.h" #include "core/input/input.h" #include "core/input/input_map.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "core/os/os.h" diff --git a/scene/gui/menu_bar.cpp b/scene/gui/menu_bar.cpp index 33d00df73a3..f524e1a0076 100644 --- a/scene/gui/menu_bar.cpp +++ b/scene/gui/menu_bar.cpp @@ -30,6 +30,7 @@ #include "menu_bar.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/main/window.h" #include "scene/theme/theme_db.h" diff --git a/scene/gui/menu_button.cpp b/scene/gui/menu_button.cpp index 11958beff3d..71ef40fb891 100644 --- a/scene/gui/menu_button.cpp +++ b/scene/gui/menu_button.cpp @@ -30,6 +30,7 @@ #include "menu_button.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/main/window.h" #include "servers/display/accessibility_server.h" diff --git a/scene/gui/nine_patch_rect.cpp b/scene/gui/nine_patch_rect.cpp index 2c3cb64a612..26a5a116643 100644 --- a/scene/gui/nine_patch_rect.cpp +++ b/scene/gui/nine_patch_rect.cpp @@ -30,6 +30,7 @@ #include "nine_patch_rect.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "servers/rendering/rendering_server.h" diff --git a/scene/gui/option_button.cpp b/scene/gui/option_button.cpp index 0eaad845b07..2cbc6e36660 100644 --- a/scene/gui/option_button.cpp +++ b/scene/gui/option_button.cpp @@ -30,6 +30,7 @@ #include "option_button.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/theme/theme_db.h" #include "servers/display/accessibility_server.h" diff --git a/scene/gui/popup.cpp b/scene/gui/popup.cpp index 95a03f4ca85..becf8d1f932 100644 --- a/scene/gui/popup.cpp +++ b/scene/gui/popup.cpp @@ -31,6 +31,7 @@ #include "popup.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/gui/panel.h" #include "scene/resources/style_box_flat.h" diff --git a/scene/gui/popup_menu.cpp b/scene/gui/popup_menu.cpp index 215291426c1..a1fde995d2b 100644 --- a/scene/gui/popup_menu.cpp +++ b/scene/gui/popup_menu.cpp @@ -33,6 +33,7 @@ #include "core/config/project_settings.h" #include "core/input/input.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "core/os/os.h" diff --git a/scene/gui/range.cpp b/scene/gui/range.cpp index b43f026022d..f84498a9457 100644 --- a/scene/gui/range.cpp +++ b/scene/gui/range.cpp @@ -30,6 +30,7 @@ #include "range.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "servers/display/accessibility_server.h" #include "thirdparty/misc/r128.h" diff --git a/scene/gui/rich_text_label.cpp b/scene/gui/rich_text_label.cpp index 70b325841bb..1689831770c 100644 --- a/scene/gui/rich_text_label.cpp +++ b/scene/gui/rich_text_label.cpp @@ -34,14 +34,19 @@ #include "core/input/input_map.h" #include "core/io/resource_loader.h" #include "core/math/math_defs.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "core/os/os.h" #include "core/string/translation_server.h" #include "scene/gui/label.h" +#include "scene/gui/popup_menu.h" #include "scene/gui/rich_text_effect.h" +#include "scene/gui/scroll_bar.h" #include "scene/main/timer.h" #include "scene/resources/atlas_texture.h" +#include "scene/resources/text_paragraph.h" +#include "scene/resources/texture.h" #include "scene/theme/theme_db.h" #include "servers/display/accessibility_server.h" #include "servers/display/display_server.h" @@ -52,6 +57,36 @@ #include "modules/regex/regex.h" #endif +RichTextLabel::ItemDropcap::~ItemDropcap() { + if (font.is_valid()) { + RichTextLabel *owner_rtl = ObjectDB::get_instance(owner); + if (owner_rtl) { + font->disconnect_changed(callable_mp(owner_rtl, &RichTextLabel::_invalidate_fonts)); + } + } +} + +RichTextLabel::ItemImage::~ItemImage() { + if (image.is_valid()) { + RichTextLabel *owner_rtl = ObjectDB::get_instance(owner); + if (owner_rtl) { + if (owner_rtl->hr_list.has(rid)) { + owner_rtl->hr_list.erase((rid)); + } + image->disconnect_changed(callable_mp(owner_rtl, &RichTextLabel::_texture_changed)); + } + } +} + +RichTextLabel::ItemFont::~ItemFont() { + if (font.is_valid()) { + RichTextLabel *owner_rtl = ObjectDB::get_instance(owner); + if (owner_rtl) { + font->disconnect_changed(callable_mp(owner_rtl, &RichTextLabel::_invalidate_fonts)); + } + } +} + RichTextLabel::ItemCustomFX::ItemCustomFX() { type = ITEM_CUSTOMFX; char_fx_transform.instantiate(); diff --git a/scene/gui/rich_text_label.h b/scene/gui/rich_text_label.h index e8bbf42b5ce..3c154eb7ea6 100644 --- a/scene/gui/rich_text_label.h +++ b/scene/gui/rich_text_label.h @@ -32,15 +32,18 @@ #include "core/object/worker_thread_pool.h" #include "core/templates/rid_owner.h" -#include "scene/gui/popup_menu.h" -#include "scene/gui/scroll_bar.h" -#include "scene/resources/image_texture.h" +#include "scene/gui/control.h" #include "scene/resources/text_paragraph.h" #ifdef TOOLS_ENABLED #include "editor/themes/editor_scale.h" #endif +class PopupMenu; +class Texture2D; +class Timer; +class VScrollBar; + class CharFXTransform; class RichTextEffect; @@ -259,14 +262,7 @@ private: Color ol_color; Rect2 dropcap_margins; ItemDropcap() { type = ITEM_DROPCAP; } - ~ItemDropcap() { - if (font.is_valid()) { - RichTextLabel *owner_rtl = ObjectDB::get_instance(owner); - if (owner_rtl) { - font->disconnect_changed(callable_mp(owner_rtl, &RichTextLabel::_invalidate_fonts)); - } - } - } + ~ItemDropcap(); }; struct ItemImage : public Item { @@ -283,17 +279,7 @@ private: Variant key; String tooltip; ItemImage() { type = ITEM_IMAGE; } - ~ItemImage() { - if (image.is_valid()) { - RichTextLabel *owner_rtl = ObjectDB::get_instance(owner); - if (owner_rtl) { - if (owner_rtl->hr_list.has(rid)) { - owner_rtl->hr_list.erase((rid)); - } - image->disconnect_changed(callable_mp(owner_rtl, &RichTextLabel::_texture_changed)); - } - } - } + ~ItemImage(); }; struct ItemFont : public Item { @@ -303,14 +289,7 @@ private: bool def_size = false; int font_size = 0; ItemFont() { type = ITEM_FONT; } - ~ItemFont() { - if (font.is_valid()) { - RichTextLabel *owner_rtl = ObjectDB::get_instance(owner); - if (owner_rtl) { - font->disconnect_changed(callable_mp(owner_rtl, &RichTextLabel::_invalidate_fonts)); - } - } - } + ~ItemFont(); }; struct ItemFontSize : public Item { diff --git a/scene/gui/scroll_bar.cpp b/scene/gui/scroll_bar.cpp index 90631986da1..99ac1a4c9ef 100644 --- a/scene/gui/scroll_bar.cpp +++ b/scene/gui/scroll_bar.cpp @@ -30,6 +30,7 @@ #include "scroll_bar.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/main/window.h" #include "scene/theme/theme_db.h" diff --git a/scene/gui/scroll_container.cpp b/scene/gui/scroll_container.cpp index 41eaf65cdd3..661e2d1295d 100644 --- a/scene/gui/scroll_container.cpp +++ b/scene/gui/scroll_container.cpp @@ -31,6 +31,7 @@ #include "scroll_container.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/gui/panel_container.h" #include "scene/gui/texture_rect.h" diff --git a/scene/gui/spin_box.cpp b/scene/gui/spin_box.cpp index 95e8defac66..56d0a958443 100644 --- a/scene/gui/spin_box.cpp +++ b/scene/gui/spin_box.cpp @@ -32,6 +32,7 @@ #include "core/input/input.h" #include "core/math/expression.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/string/translation_server.h" #include "scene/theme/theme_db.h" diff --git a/scene/gui/split_container.cpp b/scene/gui/split_container.cpp index 87303d567d7..98da7f03fe4 100644 --- a/scene/gui/split_container.cpp +++ b/scene/gui/split_container.cpp @@ -32,6 +32,7 @@ #include "split_container.compat.inc" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/gui/texture_rect.h" #include "scene/main/viewport.h" diff --git a/scene/gui/tab_bar.cpp b/scene/gui/tab_bar.cpp index 11c516ba625..e6684521517 100644 --- a/scene/gui/tab_bar.cpp +++ b/scene/gui/tab_bar.cpp @@ -31,6 +31,7 @@ #include "tab_bar.h" #include "core/input/input.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/gui/box_container.h" #include "scene/gui/label.h" diff --git a/scene/gui/tab_container.cpp b/scene/gui/tab_container.cpp index 0e203e98345..e682166ff8b 100644 --- a/scene/gui/tab_container.cpp +++ b/scene/gui/tab_container.cpp @@ -30,6 +30,7 @@ #include "tab_container.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/gui/box_container.h" #include "scene/gui/button.h" diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index 2db5356da0e..046feb85a2c 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -35,6 +35,7 @@ #include "core/config/project_settings.h" #include "core/input/input.h" #include "core/input/input_map.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/object/script_language.h" #include "core/os/keyboard.h" diff --git a/scene/gui/texture_button.cpp b/scene/gui/texture_button.cpp index 14a35a8b3f5..5e2ef5e21fa 100644 --- a/scene/gui/texture_button.cpp +++ b/scene/gui/texture_button.cpp @@ -30,6 +30,7 @@ #include "texture_button.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/typedefs.h" diff --git a/scene/gui/texture_progress_bar.cpp b/scene/gui/texture_progress_bar.cpp index b345f0bab59..eac9f98a1c5 100644 --- a/scene/gui/texture_progress_bar.cpp +++ b/scene/gui/texture_progress_bar.cpp @@ -31,6 +31,7 @@ #include "texture_progress_bar.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "servers/display/accessibility_server.h" #include "servers/rendering/rendering_server.h" diff --git a/scene/gui/texture_rect.cpp b/scene/gui/texture_rect.cpp index 714e5b04464..15f77ee9f76 100644 --- a/scene/gui/texture_rect.cpp +++ b/scene/gui/texture_rect.cpp @@ -30,6 +30,7 @@ #include "texture_rect.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/resources/atlas_texture.h" #include "servers/rendering/rendering_server.h" diff --git a/scene/gui/tree.cpp b/scene/gui/tree.cpp index cd8ca7c5340..6282ecc8a7b 100644 --- a/scene/gui/tree.cpp +++ b/scene/gui/tree.cpp @@ -34,6 +34,7 @@ #include "core/config/project_settings.h" #include "core/input/input.h" #include "core/math/math_funcs.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/keyboard.h" #include "core/os/os.h" diff --git a/scene/gui/video_stream_player.cpp b/scene/gui/video_stream_player.cpp index 2833472c38c..39bda2d3c56 100644 --- a/scene/gui/video_stream_player.cpp +++ b/scene/gui/video_stream_player.cpp @@ -31,6 +31,7 @@ #include "video_stream_player.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "servers/audio/audio_server.h" #include "servers/display/accessibility_server.h" diff --git a/scene/main/canvas_item.cpp b/scene/main/canvas_item.cpp index 3d3c76dc1a7..a7008f5cf8a 100644 --- a/scene/main/canvas_item.cpp +++ b/scene/main/canvas_item.cpp @@ -33,6 +33,7 @@ STATIC_ASSERT_INCOMPLETE_TYPE(class, RenderingServer); +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/2d/canvas_group.h" #include "scene/main/canvas_layer.h" diff --git a/scene/main/canvas_layer.cpp b/scene/main/canvas_layer.cpp index c2624bb6f1e..9813220519b 100644 --- a/scene/main/canvas_layer.cpp +++ b/scene/main/canvas_layer.cpp @@ -30,6 +30,7 @@ #include "canvas_layer.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/main/canvas_item.h" #include "scene/main/viewport.h" diff --git a/scene/main/http_request.cpp b/scene/main/http_request.cpp index 68b7b3b70fe..e30d9385705 100644 --- a/scene/main/http_request.cpp +++ b/scene/main/http_request.cpp @@ -32,6 +32,7 @@ #include "core/io/file_access.h" #include "core/io/stream_peer_gzip.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "core/os/thread.h" diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp index d4ccd16085e..ec25b46ad9e 100644 --- a/scene/main/scene_tree.cpp +++ b/scene/main/scene_tree.cpp @@ -37,6 +37,7 @@ STATIC_ASSERT_INCOMPLETE_TYPE(class, RenderingServer); #include "core/input/input.h" #include "core/io/image_loader.h" #include "core/io/resource_loader.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/object/message_queue.h" #include "core/object/worker_thread_pool.h" diff --git a/scene/main/status_indicator.cpp b/scene/main/status_indicator.cpp index 7c13e71ecaa..6defcbe0306 100644 --- a/scene/main/status_indicator.cpp +++ b/scene/main/status_indicator.cpp @@ -30,6 +30,7 @@ #include "status_indicator.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/gui/popup_menu.h" #include "servers/display/display_server.h" diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp index 494eb8f15e2..4b1e1845867 100644 --- a/scene/main/viewport.cpp +++ b/scene/main/viewport.cpp @@ -37,6 +37,7 @@ STATIC_ASSERT_INCOMPLETE_TYPE(class, RenderingServer); #include "core/config/project_settings.h" #include "core/debugger/engine_debugger.h" #include "core/input/input.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/templates/pair.h" #include "core/templates/sort_array.h" diff --git a/scene/main/window.cpp b/scene/main/window.cpp index b2fc686c19e..80d39f7e2fc 100644 --- a/scene/main/window.cpp +++ b/scene/main/window.cpp @@ -36,6 +36,7 @@ STATIC_ASSERT_INCOMPLETE_TYPE(class, RenderingServer); #include "core/config/project_settings.h" #include "core/debugger/engine_debugger.h" #include "core/input/input.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "scene/gui/control.h" diff --git a/scene/resources/2d/tile_set.cpp b/scene/resources/2d/tile_set.cpp index 439058a5371..b69e9f2d2ae 100644 --- a/scene/resources/2d/tile_set.cpp +++ b/scene/resources/2d/tile_set.cpp @@ -34,6 +34,7 @@ #include "core/config/engine.h" #include "core/io/marshalls.h" #include "core/math/geometry_2d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/templates/local_vector.h" #include "core/templates/rb_set.h" diff --git a/scene/resources/3d/primitive_meshes.cpp b/scene/resources/3d/primitive_meshes.cpp index 8a640da898f..eaf8a56d3ef 100644 --- a/scene/resources/3d/primitive_meshes.cpp +++ b/scene/resources/3d/primitive_meshes.cpp @@ -33,6 +33,7 @@ #include "core/config/engine.h" #include "core/config/project_settings.h" #include "core/math/math_funcs.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/main_loop.h" #include "scene/resources/theme.h" diff --git a/scene/resources/animated_texture.cpp b/scene/resources/animated_texture.cpp index a8127eae061..1c4e9013136 100644 --- a/scene/resources/animated_texture.cpp +++ b/scene/resources/animated_texture.cpp @@ -30,6 +30,7 @@ #include "animated_texture.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/object/message_queue.h" #include "core/os/os.h" diff --git a/scene/resources/animation_library.cpp b/scene/resources/animation_library.cpp index e5ebed82b3a..b2370f77e6c 100644 --- a/scene/resources/animation_library.cpp +++ b/scene/resources/animation_library.cpp @@ -30,6 +30,7 @@ #include "animation_library.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/scene_string_names.h" diff --git a/scene/resources/atlas_texture.cpp b/scene/resources/atlas_texture.cpp index cfce3a1a66d..a5b48db0f9d 100644 --- a/scene/resources/atlas_texture.cpp +++ b/scene/resources/atlas_texture.cpp @@ -30,6 +30,7 @@ #include "atlas_texture.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" int AtlasTexture::get_width() const { diff --git a/scene/resources/bone_map.cpp b/scene/resources/bone_map.cpp index 5d6a3ae0441..6c568a35528 100644 --- a/scene/resources/bone_map.cpp +++ b/scene/resources/bone_map.cpp @@ -31,6 +31,7 @@ #include "bone_map.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" bool BoneMap::_set(const StringName &p_path, const Variant &p_value) { diff --git a/scene/resources/camera_texture.cpp b/scene/resources/camera_texture.cpp index 9685cc94768..7c8d66d52fe 100644 --- a/scene/resources/camera_texture.cpp +++ b/scene/resources/camera_texture.cpp @@ -30,6 +30,7 @@ #include "camera_texture.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "servers/camera/camera_feed.h" #include "servers/rendering/rendering_server.h" diff --git a/scene/resources/canvas_item_material.cpp b/scene/resources/canvas_item_material.cpp index 92977f6428e..004950549e5 100644 --- a/scene/resources/canvas_item_material.cpp +++ b/scene/resources/canvas_item_material.cpp @@ -30,6 +30,7 @@ #include "canvas_item_material.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/version.h" #include "servers/rendering/rendering_server.h" diff --git a/scene/resources/compositor.cpp b/scene/resources/compositor.cpp index 1df1c632d36..c189064aa13 100644 --- a/scene/resources/compositor.cpp +++ b/scene/resources/compositor.cpp @@ -30,6 +30,7 @@ #include "compositor.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "servers/rendering/rendering_server.h" diff --git a/scene/resources/curve_texture.cpp b/scene/resources/curve_texture.cpp index 455c3f6bbad..3cad726d38c 100644 --- a/scene/resources/curve_texture.cpp +++ b/scene/resources/curve_texture.cpp @@ -30,6 +30,7 @@ #include "curve_texture.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "servers/rendering/rendering_server.h" diff --git a/scene/resources/environment.cpp b/scene/resources/environment.cpp index b54efaedb0b..43bf828c434 100644 --- a/scene/resources/environment.cpp +++ b/scene/resources/environment.cpp @@ -32,6 +32,7 @@ #include "core/config/engine.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "scene/resources/gradient_texture.h" diff --git a/scene/resources/font.cpp b/scene/resources/font.cpp index 21f050deb64..38bf7a71c1f 100644 --- a/scene/resources/font.cpp +++ b/scene/resources/font.cpp @@ -33,6 +33,7 @@ #include "core/config/engine.h" #include "core/io/image_loader.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "core/templates/hash_map.h" diff --git a/scene/resources/gradient_texture.cpp b/scene/resources/gradient_texture.cpp index cf7669a966d..559849e1311 100644 --- a/scene/resources/gradient_texture.cpp +++ b/scene/resources/gradient_texture.cpp @@ -31,6 +31,7 @@ #include "gradient_texture.h" #include "core/math/geometry_2d.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "servers/rendering/rendering_server.h" diff --git a/scene/resources/label_settings.cpp b/scene/resources/label_settings.cpp index 4dc5587f1e0..e60cb1e9f12 100644 --- a/scene/resources/label_settings.cpp +++ b/scene/resources/label_settings.cpp @@ -30,6 +30,7 @@ #include "label_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" void LabelSettings::_font_changed() { diff --git a/scene/resources/material.cpp b/scene/resources/material.cpp index f15713ee020..8141491d3e0 100644 --- a/scene/resources/material.cpp +++ b/scene/resources/material.cpp @@ -33,6 +33,7 @@ #include "core/config/engine.h" #include "core/config/project_settings.h" #include "core/error/error_macros.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/os/os.h" #include "core/version.h" diff --git a/scene/resources/packed_scene.cpp b/scene/resources/packed_scene.cpp index 14f829843c0..49a72488173 100644 --- a/scene/resources/packed_scene.cpp +++ b/scene/resources/packed_scene.cpp @@ -34,6 +34,7 @@ #include "core/io/file_access.h" #include "core/io/missing_resource.h" #include "core/io/resource_loader.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/object/script_language.h" #include "core/templates/local_vector.h" diff --git a/scene/resources/shader.cpp b/scene/resources/shader.cpp index d661c5e86d4..fddc1311afd 100644 --- a/scene/resources/shader.cpp +++ b/scene/resources/shader.cpp @@ -33,6 +33,7 @@ #include "core/config/engine.h" #include "core/io/file_access.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/main/scene_tree.h" #include "servers/rendering/rendering_server.h" diff --git a/scene/resources/shader_include.cpp b/scene/resources/shader_include.cpp index 123421af803..d30c668e0e8 100644 --- a/scene/resources/shader_include.cpp +++ b/scene/resources/shader_include.cpp @@ -31,6 +31,7 @@ #include "shader_include.h" #include "core/io/file_access.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "servers/rendering/shader_preprocessor.h" diff --git a/scene/resources/syntax_highlighter.cpp b/scene/resources/syntax_highlighter.cpp index f598cfa98b4..1e8ef6014e6 100644 --- a/scene/resources/syntax_highlighter.cpp +++ b/scene/resources/syntax_highlighter.cpp @@ -30,6 +30,7 @@ #include "syntax_highlighter.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/gui/text_edit.h" diff --git a/scene/resources/texture_rd.cpp b/scene/resources/texture_rd.cpp index 0e9ff0023dd..6fb37374b87 100644 --- a/scene/resources/texture_rd.cpp +++ b/scene/resources/texture_rd.cpp @@ -30,6 +30,7 @@ #include "texture_rd.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "servers/rendering/rendering_device.h" #include "servers/rendering/rendering_server.h" diff --git a/scene/resources/theme.cpp b/scene/resources/theme.cpp index 71dbc8095cc..c237c0c45fe 100644 --- a/scene/resources/theme.cpp +++ b/scene/resources/theme.cpp @@ -30,6 +30,7 @@ #include "theme.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/theme/theme_db.h" diff --git a/scene/resources/visual_shader.cpp b/scene/resources/visual_shader.cpp index e3dc4c96760..8a939fad869 100644 --- a/scene/resources/visual_shader.cpp +++ b/scene/resources/visual_shader.cpp @@ -31,6 +31,7 @@ #include "visual_shader.h" #include "core/config/engine.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/templates/rb_map.h" #include "core/variant/variant_utility.h" diff --git a/scene/resources/visual_shader_particle_nodes.cpp b/scene/resources/visual_shader_particle_nodes.cpp index 64ec785dc20..db430e8eb13 100644 --- a/scene/resources/visual_shader_particle_nodes.cpp +++ b/scene/resources/visual_shader_particle_nodes.cpp @@ -30,6 +30,7 @@ #include "visual_shader_particle_nodes.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/resources/image_texture.h" #include "scene/resources/mesh.h" diff --git a/scene/theme/theme_db.cpp b/scene/theme/theme_db.cpp index 9c7b037292d..792acfd57a2 100644 --- a/scene/theme/theme_db.cpp +++ b/scene/theme/theme_db.cpp @@ -33,6 +33,7 @@ #include "core/config/engine.h" #include "core/config/project_settings.h" #include "core/io/resource_loader.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/gui/control.h" #include "scene/main/node.h" diff --git a/scene/theme/theme_owner.cpp b/scene/theme/theme_owner.cpp index febe95fe2a9..4243926eeb3 100644 --- a/scene/theme/theme_owner.cpp +++ b/scene/theme/theme_owner.cpp @@ -30,7 +30,7 @@ #include "theme_owner.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "scene/gui/control.h" #include "scene/main/window.h" #include "scene/theme/theme_db.h" diff --git a/servers/navigation_2d/navigation_server_2d.cpp b/servers/navigation_2d/navigation_server_2d.cpp index e5086d645c6..780a233e1ab 100644 --- a/servers/navigation_2d/navigation_server_2d.cpp +++ b/servers/navigation_2d/navigation_server_2d.cpp @@ -33,6 +33,7 @@ #include "core/config/engine.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/main/node.h" #include "servers/navigation_2d/navigation_server_2d_dummy.h" diff --git a/servers/navigation_3d/navigation_server_3d.cpp b/servers/navigation_3d/navigation_server_3d.cpp index b90b0bc2f29..176733fabd8 100644 --- a/servers/navigation_3d/navigation_server_3d.cpp +++ b/servers/navigation_3d/navigation_server_3d.cpp @@ -33,6 +33,7 @@ #include "core/config/engine.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/main/node.h" #include "servers/navigation_3d/navigation_server_3d_dummy.h" diff --git a/servers/physics_2d/physics_server_2d_wrap_mt.cpp b/servers/physics_2d/physics_server_2d_wrap_mt.cpp index b6f09684201..33cbbc64bbd 100644 --- a/servers/physics_2d/physics_server_2d_wrap_mt.cpp +++ b/servers/physics_2d/physics_server_2d_wrap_mt.cpp @@ -30,6 +30,8 @@ #include "physics_server_2d_wrap_mt.h" +#include "core/object/callable_mp.h" + void PhysicsServer2DWrapMT::_assign_mt_ids(WorkerThreadPool::TaskID p_pump_task_id) { server_thread = Thread::get_caller_id(); server_task_id = p_pump_task_id; diff --git a/servers/physics_3d/physics_server_3d_wrap_mt.cpp b/servers/physics_3d/physics_server_3d_wrap_mt.cpp index c5e6896ec03..376ab69ec9c 100644 --- a/servers/physics_3d/physics_server_3d_wrap_mt.cpp +++ b/servers/physics_3d/physics_server_3d_wrap_mt.cpp @@ -30,7 +30,7 @@ #include "physics_server_3d_wrap_mt.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" void PhysicsServer3DWrapMT::_assign_mt_ids(WorkerThreadPool::TaskID p_pump_task_id) { server_thread = Thread::get_caller_id(); diff --git a/servers/register_server_types.cpp b/servers/register_server_types.cpp index 1e618c8f1b8..d9073fe7b64 100644 --- a/servers/register_server_types.cpp +++ b/servers/register_server_types.cpp @@ -32,6 +32,7 @@ #include "core/config/engine.h" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/os/os.h" #include "audio/audio_effect.h" diff --git a/servers/rendering/renderer_scene_cull.cpp b/servers/rendering/renderer_scene_cull.cpp index 2204433573e..999c301de7d 100644 --- a/servers/rendering/renderer_scene_cull.cpp +++ b/servers/rendering/renderer_scene_cull.cpp @@ -33,7 +33,7 @@ #include "core/config/engine.h" #include "core/config/project_settings.h" #include "core/math/geometry_3d.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "core/object/worker_thread_pool.h" #include "core/os/os.h" #include "servers/rendering/rendering_light_culler.h" diff --git a/servers/rendering/rendering_server_default.cpp b/servers/rendering/rendering_server_default.cpp index 3efa103a887..49b80b10b67 100644 --- a/servers/rendering/rendering_server_default.cpp +++ b/servers/rendering/rendering_server_default.cpp @@ -30,7 +30,7 @@ #include "rendering_server_default.h" -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "core/os/os.h" #include "core/profiling/profiling.h" #include "servers/display/display_server.h" diff --git a/servers/xr/xr_server.cpp b/servers/xr/xr_server.cpp index ad8846cb403..f245509a348 100644 --- a/servers/xr/xr_server.cpp +++ b/servers/xr/xr_server.cpp @@ -32,6 +32,7 @@ #include "xr_server.compat.inc" #include "core/config/project_settings.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "servers/rendering/rendering_server.h" #include "servers/xr/xr_interface.h" diff --git a/tests/core/object/test_object.cpp b/tests/core/object/test_object.cpp index 55b149efaab..d241b6162ad 100644 --- a/tests/core/object/test_object.cpp +++ b/tests/core/object/test_object.cpp @@ -32,6 +32,7 @@ TEST_FORCE_LINK(test_object) +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/object/object.h" #include "core/object/script_language.h" diff --git a/tests/core/object/test_undo_redo.cpp b/tests/core/object/test_undo_redo.cpp index 941074fd528..21824daeeff 100644 --- a/tests/core/object/test_undo_redo.cpp +++ b/tests/core/object/test_undo_redo.cpp @@ -32,6 +32,7 @@ TEST_FORCE_LINK(test_undo_redo) +#include "core/object/callable_mp.h" #include "core/object/undo_redo.h" namespace TestUndoRedo { diff --git a/tests/core/threads/test_worker_thread_pool.cpp b/tests/core/threads/test_worker_thread_pool.cpp index f698ed526cb..5b43865e59a 100644 --- a/tests/core/threads/test_worker_thread_pool.cpp +++ b/tests/core/threads/test_worker_thread_pool.cpp @@ -32,7 +32,7 @@ TEST_FORCE_LINK(test_worker_thread_pool) -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "core/object/worker_thread_pool.h" #include "core/os/os.h" diff --git a/tests/core/variant/test_array.cpp b/tests/core/variant/test_array.cpp index 801a89277fc..fd78e8cc100 100644 --- a/tests/core/variant/test_array.cpp +++ b/tests/core/variant/test_array.cpp @@ -32,7 +32,7 @@ TEST_FORCE_LINK(test_array) -#include "core/object/callable_method_pointer.h" +#include "core/object/callable_mp.h" #include "core/variant/array.h" #include "core/variant/typed_array.h" #include "tests/test_tools.h" diff --git a/tests/core/variant/test_callable.cpp b/tests/core/variant/test_callable.cpp index fca557b25c7..03fcbf0ffa2 100644 --- a/tests/core/variant/test_callable.cpp +++ b/tests/core/variant/test_callable.cpp @@ -32,6 +32,7 @@ TEST_FORCE_LINK(test_callable) +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "core/object/object.h" diff --git a/tests/scene/test_packed_scene.cpp b/tests/scene/test_packed_scene.cpp index fff34cb8284..bdec46d0b6a 100644 --- a/tests/scene/test_packed_scene.cpp +++ b/tests/scene/test_packed_scene.cpp @@ -32,6 +32,7 @@ TEST_FORCE_LINK(test_packed_scene) +#include "core/object/callable_mp.h" #include "core/object/class_db.h" #include "scene/resources/packed_scene.h" diff --git a/tests/scene/test_viewport.cpp b/tests/scene/test_viewport.cpp index 8bc67418080..1d4d8579e0a 100644 --- a/tests/scene/test_viewport.cpp +++ b/tests/scene/test_viewport.cpp @@ -32,6 +32,7 @@ TEST_FORCE_LINK(test_viewport) +#include "core/object/callable_mp.h" #include "scene/2d/node_2d.h" #include "scene/gui/control.h" #include "scene/gui/subviewport_container.h" diff --git a/tests/servers/test_navigation_server_2d.cpp b/tests/servers/test_navigation_server_2d.cpp index bb03890160e..4a3956971c0 100644 --- a/tests/servers/test_navigation_server_2d.cpp +++ b/tests/servers/test_navigation_server_2d.cpp @@ -36,6 +36,7 @@ TEST_FORCE_LINK(test_navigation_server_2d) #ifdef MODULE_NAVIGATION_2D_ENABLED +#include "core/object/callable_mp.h" #include "scene/2d/polygon_2d.h" #include "scene/main/window.h" #include "servers/navigation_2d/navigation_server_2d.h" diff --git a/tests/servers/test_navigation_server_3d.cpp b/tests/servers/test_navigation_server_3d.cpp index 6f2b9f17048..d90605f044c 100644 --- a/tests/servers/test_navigation_server_3d.cpp +++ b/tests/servers/test_navigation_server_3d.cpp @@ -36,6 +36,7 @@ TEST_FORCE_LINK(test_navigation_server_3d) #ifdef MODULE_NAVIGATION_3D_ENABLED +#include "core/object/callable_mp.h" #include "scene/3d/mesh_instance_3d.h" #include "scene/main/window.h" #include "scene/resources/3d/primitive_meshes.h" diff --git a/tests/signal_watcher.cpp b/tests/signal_watcher.cpp index fe04266b9d3..802b9f5e676 100644 --- a/tests/signal_watcher.cpp +++ b/tests/signal_watcher.cpp @@ -30,6 +30,7 @@ #include "signal_watcher.h" +#include "core/object/callable_mp.h" #include "core/object/class_db.h" void SignalWatcher::_add_signal_entry(const Array &p_args, const String &p_name) {