Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add move inout point/set offset shortcut to AnimationTrackEditor #85582

Closed

Conversation

TokageItLab
Copy link
Member

@TokageItLab TokageItLab commented Dec 1, 2023

Add shortcuts for easy AudioPlayback positioning and trimming.

setoffset.mp4

[: move in point selection
]: move out point selection
Ctrl + [: set start offset
Ctrl + ]: set end offset

For now, this provides a simple workaround for the #85088 problem (but does not close fully). Just set the timeline to 0, select the audio track key, and press Ctrl + [, then the workaround should be done.

There are a few known issues:

  1. Move out point selection does not take key length into account for AudioTrack/AnimationPlaybackTrack. This has long been a problem with existing operations such as Scale Selection, etc., and would require them to fundamentally change their key length acquisition algorithm.

  2. Set start offset changes the time position of a key, so if the beginning of another AudioTrack key already exists, an error may occur. To implement this correctly, you will need to implement some sort of workaround for existing keys, as is done inside Move Selection. This is a rare case and can be followed up on later.

@TokageItLab
Copy link
Member Author

Superseded by #86661

@TokageItLab TokageItLab removed this from the 4.3 milestone Dec 31, 2023
@TokageItLab TokageItLab deleted the moving-key-shortcut branch February 14, 2024 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant