diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-16 11:01:38 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-16 11:01:38 +0100 |
commit | 02ca6689c46a9e61227f2adcbb4456870f1dc1a6 (patch) | |
tree | f943b6457deea756cf603aa1419910d5ff93a876 | |
parent | f3e2e4be37e1c7afc1ac593495ae5a4b7b64eccc (diff) | |
parent | 919df3ac0e3749cfe5a75fe0019fd2754ce67f73 (diff) |
Merge pull request #73369 from SaracenOne/animation_length_read_only
Make animation length control respect read-only rules.
-rw-r--r-- | editor/animation_track_editor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/animation_track_editor.cpp b/editor/animation_track_editor.cpp index 9f3893a5db..9eabc31621 100644 --- a/editor/animation_track_editor.cpp +++ b/editor/animation_track_editor.cpp @@ -1522,6 +1522,8 @@ void AnimationTimelineEdit::set_animation(const Ref<Animation> &p_animation, boo animation = p_animation; read_only = p_read_only; + length->set_read_only(read_only); + if (animation.is_valid()) { len_hb->show(); if (read_only) { |