Blender Git Loki

Git Commits -> Revision 0491052

Revision 0491052 by Richard Antalik (master)
July 29, 2021, 09:38 (GMT)
VSE: Change grid line drawing

Add overlay option to disable grid drawing.
Reuse drawing code from other editors (timeline editor)
Add argument `display_minor_lines` to function
`UI_view2d_draw_lines_x__discrete_frames_or_seconds`
This way minor line drawing can be disabled and so it doesn't cause
too much visual noise. Also spacing seems to be too fine, so VSE uses 3x
what is defined in preferences.

Reviewed By: fsiddi, Severin

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

Commit Details:

Full Hash: 0491052a9697a706b4cd14a1f478180ad6fb8c75
Parent Commit: 5c9979f
Lines Changed: +59, -93

16 Modified Paths:

/release/datafiles/userdef/userdef_default_theme.c (+1, -1) (Diff)
/release/scripts/startup/bl_ui/space_sequencer.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_blender_version.h (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_300.c (+13, -0) (Diff)
/source/blender/blenloader/intern/versioning_defaults.c (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_userdef.c (+5, -0) (Diff)
/source/blender/editors/include/UI_view2d.h (+6, -4) (Diff)
/source/blender/editors/interface/view2d.c (+0, -72) (Diff)
/source/blender/editors/interface/view2d_draw.c (+13, -8) (Diff)
/source/blender/editors/space_action/space_action.c (+2, -1) (Diff)
/source/blender/editors/space_clip/space_clip.c (+1, -1) (Diff)
/source/blender/editors/space_nla/space_nla.c (+1, -1) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+7, -2) (Diff)
/source/blender/editors/space_sequencer/space_sequencer.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_space_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+5, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021