diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-07-08 14:03:29 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-07-08 14:03:29 +0400 |
commit | b511fbea6d3e0185f8ba39405bc9f71dab7a5f20 (patch) | |
tree | ee404999004e76ccc6ff941d62b4d62d7afae69a /source/blender/makesdna | |
parent | ff51a96d58f423a686cc9b195f0bf2361625fb1a (diff) |
Sequencer display overlay option, this can show a border area from another time to help compare for color grading.
- Okey sets the border in the display.
- Okey resets the frame offset in the sequencer timeline.
- ghost icon in the header can enable/disable.
- frame offset can be relative or absolute (lock icon)
Not very happy that this commit adds a call to BKE_animsys_evaluate_animdata(scene, ...) in do_build_seq_array_recursively()
without this the offset frames dont have fcurves applied.
Though we will need something like this for prefetch frames to work too.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_sequence_types.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_sequence_types.h b/source/blender/makesdna/DNA_sequence_types.h index f5ca32c6b32..3ab7cb73d56 100644 --- a/source/blender/makesdna/DNA_sequence_types.h +++ b/source/blender/makesdna/DNA_sequence_types.h @@ -196,6 +196,10 @@ typedef struct Editing { Sequence *act_seq; char act_imagedir[256]; char act_sounddir[256]; + + int over_ofs, over_cfra; + int over_flag, pad; + rctf over_border; } Editing; /* ************* Effect Variable Structs ********* */ @@ -242,6 +246,10 @@ typedef struct SpeedControlVars { int lastValidFrame; } SpeedControlVars; +/* Editor->over_flag */ +#define SEQ_EDIT_OVERLAY_SHOW 1 +#define SEQ_EDIT_OVERLAY_ABS 2 + #define SEQ_STRIP_OFSBOTTOM 0.2f #define SEQ_STRIP_OFSTOP 0.8f |