JannisX11 / blockbench

Blockbench - A low poly 3D model editor
https://www.blockbench.net
GNU General Public License v3.0
3.13k stars 277 forks source link

Playback boundaries #2115

Open Cub0use opened 7 months ago

Cub0use commented 7 months ago

Detailed description of your suggestion

For longer, more complex animations, it would be useful to be able to set boundaries for the playback.

It is currently difficult to keep a certain section on screen because the timeline view will automatically advance when the playhead reaches the right edge of the tab.

Having those boundaries would allow us to simply press the Play Animation key to easily view the same section play out multiple times in a row, rather than having to drag the view and reposition the playhead.

Little mockup:

bb_sugg_timeline_playback_boundaries

It would be nice to be able to drag the handles on the timeline to reposition the boundaries. The loop mode (play once / hold on last frame / loop) of the animation would be respected.

I think it would be good to still be able to position the playhead and select keyframes outside of the boundaries, to preview the animation by manually dragging the playhead, and edit keyframes. But as soon as Play Animation would be used, the playhead would jump to the first frame of the boundaries, if it was outside of them.