diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-05-04 11:26:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-04 11:26:55 +0200 |
commit | bee7f8ff2369debb873efd90ea3d282392c7a35b (patch) | |
tree | e0f5811cd7074bde415bcdcc6b8261f30dfb15f2 /editor/editor_plugin.h | |
parent | 3fea1707723a211c223f73d71b1243bf2f558d09 (diff) | |
parent | b46672db722836182092d0972212d0c03932d430 (diff) |
Merge pull request #48274 from groud/undoredo_dependencies
Allow to hook a callback into inspector's undo/redo
Diffstat (limited to 'editor/editor_plugin.h')
-rw-r--r-- | editor/editor_plugin.h | 3 |
1 files changed, 3 insertions, 0 deletions
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(); |