Blender Git Commit Log

Git Commits -> Revision 235c309

Revision 235c309 by Paul Melis (master)
November 6, 2020, 15:05 (GMT)
Add background rectangle option to video sequencer Text strip

This adds a Box option to the Text strip's style properties, plus related Box Margin value:

{F9208309}

When enabled the text is placed on top of a solid-filled rectangle of a chosen color, as shown below:

{F9208324}

When the box option is disabled the text strip works the same as it does now. When the box option is enabled the meaning of the Shadow option changes to provide a drop-shadow on the rectangle (and not on the text itself). The latter made more sense to me.

The box margin is specified as a fraction of the image width. The offset of the drop-down box shadow is fixed to a specific fraction of the image width as well.

I tested this feature on a movie of a couple of minutes containing dozens of text strips (all with box background), edge cases like multi-line strings and text overlapping the image edges.

Reviewed By: ISS

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

Commit Details:

Full Hash: 235c309e5f86e84fb08e1ff2c5c11eb0b775c388
Parent Commit: f6524aa
Committed By: Richard Antalik
Lines Changed: +83, -14

4 Modified Paths:

/release/scripts/startup/bl_ui/space_sequencer.py (+15, -0) (Diff)
/source/blender/makesdna/DNA_sequence_types.h (+4, -2) (Diff)
/source/blender/makesrna/intern/rna_sequencer.c (+24, -3) (Diff)
/source/blender/sequencer/intern/effects.c (+40, -9) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021