diff options
author | Jacques Lucke <mail@jlucke.com> | 2019-02-26 19:24:36 +0300 |
---|---|---|
committer | Jacques Lucke <mail@jlucke.com> | 2019-02-26 19:24:36 +0300 |
commit | d54143078562fbf7780f0da8ab5c6da79a9c21b1 (patch) | |
tree | 58c6d033aa82c8d64c173dd827283f6928325969 /source/blender/makesdna | |
parent | 2b3553eff2a01cf3d1655183de9ebd416abde9c1 (diff) |
UI: Show marker lines in remaining animation spaces
This also includes fixed/slighly refactored drawing code for marker lines.
The old code used the wrong height.
Reviewers: brecht
Differential Revision: https://developer.blender.org/D4411
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_action_types.h | 2 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_space_types.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_action_types.h b/source/blender/makesdna/DNA_action_types.h index 196d4108d93..a52145a0416 100644 --- a/source/blender/makesdna/DNA_action_types.h +++ b/source/blender/makesdna/DNA_action_types.h @@ -851,6 +851,8 @@ typedef enum eSAction_Flag { SACTION_SHOW_INTERPOLATION = (1 << 12), /* show extremes */ SACTION_SHOW_EXTREMES = (1 << 13), + /* show vertical line markers */ + SACTION_SHOW_MARKER_LINES = (1 << 14), } eSAction_Flag; diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h index e3d4337634e..efa1c0e5010 100644 --- a/source/blender/makesdna/DNA_space_types.h +++ b/source/blender/makesdna/DNA_space_types.h @@ -500,6 +500,8 @@ typedef enum eSpaceNla_Flag { SNLA_NOREALTIMEUPDATES = (1 << 6), /* don't show local strip marker indications */ SNLA_NOLOCALMARKERS = (1 << 7), + /* show vertical line for every marker */ + SNLA_SHOW_MARKER_LINES = (1 << 8), } eSpaceNla_Flag; /** \} */ |