Allow jumping to previous/next keyframe in animation player
This commit is contained in:
parent
a1acd38c35
commit
a7abbe5e9e
4 changed files with 104 additions and 29 deletions
|
|
@ -4580,6 +4580,10 @@ bool AnimationTrackEditor::is_snap_enabled() const {
|
|||
return snap->is_pressed() ^ Input::get_singleton()->is_key_pressed(Key::CMD_OR_CTRL);
|
||||
}
|
||||
|
||||
bool AnimationTrackEditor::is_bezier_editor_active() const {
|
||||
return bezier_edit->is_visible();
|
||||
}
|
||||
|
||||
bool AnimationTrackEditor::can_add_reset_key() const {
|
||||
for (const KeyValue<SelectedKey, KeyInfo> &E : selection) {
|
||||
const Animation::TrackType track_type = animation->track_get_type(E.key.track);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue