Blender Git Loki

Git Commits -> Revision 6fe609d

Revision 6fe609d by Sergey Sharybin (master)
August 13, 2020, 13:24 (GMT)
Sequencer: Implement zoom-to-fit view mode

In this mode the preview image is always using the most of the preview
area space: it is scaled to fit, preserving aspect ratio. This makes it
possible to always have maximum of the preview region even after resize
of other areas.

This mode is enabled by default, is available in the View -> Zoom to Fit
menu. It is enabled when View All (Home key) is used, and is disabled
when manual navigation ([panning, zooming) is performed.

There is no versioning code, which means existing files will open as-is,
but new projects will have this option enabled.

Ref T78987

Maniphest Tasks: T78987

Differential Revision: https://developer.blender.org/D8549

Commit Details:

Full Hash: 6fe609d4c3d0e2f820af577dc9a2affc4cf4ef0a
Parent Commit: 0df28e8
Lines Changed: +34, -3

6 Modified Paths:

/release/scripts/startup/bl_ui/space_sequencer.py (+1, -0) (Diff)
/source/blender/blenloader/intern/versioning_defaults.c (+1, -1) (Diff)
/source/blender/editors/space_sequencer/sequencer_view.c (+5, -1) (Diff)
/source/blender/editors/space_sequencer/space_sequencer.c (+20, -1) (Diff)
/source/blender/makesdna/DNA_space_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+6, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021