diff options
author | Richard Antalik <richardantalik@gmail.com> | 2020-03-19 02:24:09 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2020-03-19 02:24:09 +0300 |
commit | 271231f58ee376b576d72e3ecdb68899bb84d724 (patch) | |
tree | e0a9021e6a9ad43470b829c789051445a028d033 /source/blender/blenkernel/intern | |
parent | 348d2fa09e0c01d62372f5999b62d06ac3b810f9 (diff) |
VSE: Strip drawing improvements
This patch include changes:
- Thicker and clearer selection indication
- Slimmer handles
- More transparent muted strips
- Trim frame number is drawn inside the strip
- Strip text is drawn in upper part of strip
- Color strips now have specific color, with chosen color drawn under strip text
- Transition strip will use color of input strips showing direction of transition
- Selecting effect strip will highlight input strips
- Selecting multicam strips will highlight target channel
- Missing media state is now indicated by a red line drawn on the top part of the strip
- A checkerboard pattern is now drawn on the outsides of the meta range
- Hold still regions are now always drawn if existent, with a darker shade of the strip’s background color
Author: Alessio Monti di Sopra <a.monti>
Reviewed By: ISS
Differential Revision: https://developer.blender.org/D6883
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/sequencer.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c index a11326ef099..b5e2b96d239 100644 --- a/source/blender/blenkernel/intern/sequencer.c +++ b/source/blender/blenkernel/intern/sequencer.c @@ -806,14 +806,6 @@ void BKE_sequence_calc_disp(Scene *scene, Sequence *seq) seq->startdisp = seq->start + seq->startofs - seq->startstill; seq->enddisp = seq->start + seq->len - seq->endofs + seq->endstill; - seq->handsize = 10.0; /* 10 frames */ - if (seq->enddisp - seq->startdisp < 10) { - seq->handsize = (float)(0.5 * (seq->enddisp - seq->startdisp)); - } - else if (seq->enddisp - seq->startdisp > 250) { - seq->handsize = (float)((seq->enddisp - seq->startdisp) / 25); - } - if (seq->type == SEQ_TYPE_META) { seq_update_sound_bounds_recursive(scene, seq); } |