From 041315253f63ed18f99b2df70dcd6a58a811a784 Mon Sep 17 00:00:00 2001 From: emild Date: Fri, 16 Feb 2024 16:48:19 +0100 Subject: Fix various bugs in Animation key right click actions --- editor/animation_track_editor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editor/animation_track_editor.h') diff --git a/editor/animation_track_editor.h b/editor/animation_track_editor.h index 0d6f93fefc..4f4905d0d6 100644 --- a/editor/animation_track_editor.h +++ b/editor/animation_track_editor.h @@ -579,13 +579,13 @@ class AnimationTrackEditor : public VBoxContainer { void _cleanup_animation(Ref 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; -- cgit v1.2.3