diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp index 563bf5ce7f2..44426dc1438 100644 --- a/editor/editor_inspector.cpp +++ b/editor/editor_inspector.cpp @@ -3370,7 +3370,17 @@ void EditorInspector::set_keying(bool p_active) { return; } keying = p_active; - update_tree(); + _keying_changed(); +} + +void EditorInspector::_keying_changed() { + for (const KeyValue> &F : editor_property_map) { + for (EditorProperty *E : F.value) { + if (E) { + E->set_keying(keying); + } + } + } } void EditorInspector::set_read_only(bool p_read_only) { diff --git a/editor/editor_inspector.h b/editor/editor_inspector.h index 01231108d82..76fe929ce44 100644 --- a/editor/editor_inspector.h +++ b/editor/editor_inspector.h @@ -521,6 +521,8 @@ class EditorInspector : public ScrollContainer { void _changed_callback(); void _edit_request_change(Object *p_object, const String &p_prop); + void _keying_changed(); + void _filter_changed(const String &p_text); void _parse_added_editors(VBoxContainer *current_vbox, EditorInspectorSection *p_section, Ref ped);