Blender Git Loki

Git Commits -> Revision 98166b5

November 7, 2020, 10:53 (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: 98166b5c98431bd22f65e77e3a24154c13020f15
Parent Commit: 229849a
Committed By: Joseph Eagar
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021