diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-03-24 01:14:08 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-03-24 01:14:08 +0100 |
commit | b0505b580d01c88844e0eb7550639b7aa655db97 (patch) | |
tree | 1b4d6dd57e0995cc2d4ce5c5a880dfb5f65661cc /editor/animation_track_editor.h | |
parent | e92806c7e7451ff2a8c6d0a27a95bdadaeb2a3be (diff) | |
parent | 041315253f63ed18f99b2df70dcd6a58a811a784 (diff) | |
download | redot-engine-b0505b580d01c88844e0eb7550639b7aa655db97.tar.gz |
Merge pull request #88445 from CookieBadger/animation-paste-snap-fix
Fix various bugs in Animation key right click actions
Diffstat (limited to 'editor/animation_track_editor.h')
-rw-r--r-- | editor/animation_track_editor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/animation_track_editor.h b/editor/animation_track_editor.h index d2d8462dbc..49a18409d0 100644 --- a/editor/animation_track_editor.h +++ b/editor/animation_track_editor.h @@ -585,13 +585,13 @@ class AnimationTrackEditor : public VBoxContainer { void _cleanup_animation(Ref<Animation> p_animation); - void _anim_duplicate_keys(float p_ofs, int p_track); + void _anim_duplicate_keys(float p_ofs, bool p_ofs_valid, int p_track); void _anim_copy_keys(bool p_cut); bool _is_track_compatible(int p_target_track_idx, Variant::Type p_source_value_type, Animation::TrackType p_source_track_type); - void _anim_paste_keys(float p_ofs, int p_track); + void _anim_paste_keys(float p_ofs, bool p_ofs_valid, int p_track); void _view_group_toggle(); Button *view_group = nullptr; |