diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-01-19 12:32:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 12:32:25 +0100 |
commit | 34f6572bdf0cd2d16d3ee9d265a4bc9e7acfb76f (patch) | |
tree | 6f1bc24fcbdaa823ce71301ae70165cc30519793 /editor/editor_inspector.cpp | |
parent | 8b8e858778bbf9e0dad66335f351920332c547de (diff) | |
parent | 7e14548fc691be4a4602857a01966913c44b7000 (diff) |
Merge pull request #56940 from Faless/editor/4.x_keying_refactor
Diffstat (limited to 'editor/editor_inspector.cpp')
-rw-r--r-- | editor/editor_inspector.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp index 75e518e050..1e1f25b6d1 100644 --- a/editor/editor_inspector.cpp +++ b/editor/editor_inspector.cpp @@ -2905,6 +2905,7 @@ void EditorInspector::edit(Object *p_object) { object->connect("property_list_changed", callable_mp(this, &EditorInspector::_changed_callback)); update_tree(); } + emit_signal("edited_object_changed"); } void EditorInspector::set_keying(bool p_active) { @@ -3543,6 +3544,7 @@ void EditorInspector::_bind_methods() { ADD_SIGNAL(MethodInfo("object_id_selected", PropertyInfo(Variant::INT, "id"))); ADD_SIGNAL(MethodInfo("property_edited", PropertyInfo(Variant::STRING, "property"))); ADD_SIGNAL(MethodInfo("property_toggled", PropertyInfo(Variant::STRING, "property"), PropertyInfo(Variant::BOOL, "checked"))); + ADD_SIGNAL(MethodInfo("edited_object_changed")); ADD_SIGNAL(MethodInfo("restart_requested")); } |