From b46672db722836182092d0972212d0c03932d430 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gilles=20Roudi=C3=A8re?= Date: Wed, 28 Apr 2021 17:39:57 +0200 Subject: Provide a way to hook into Inspectors UndoRedo. --- editor/editor_plugin.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'editor/editor_plugin.h') diff --git a/editor/editor_plugin.h b/editor/editor_plugin.h index 67b163eabf..37412e5ebe 100644 --- a/editor/editor_plugin.h +++ b/editor/editor_plugin.h @@ -225,6 +225,9 @@ public: EditorInterface *get_editor_interface(); ScriptCreateDialog *get_script_create_dialog(); + void add_undo_redo_inspector_hook_callback(Callable p_callable); + void remove_undo_redo_inspector_hook_callback(Callable p_callable); + int update_overlays() const; void queue_save_layout(); -- cgit v1.2.3