Blender Git Commit Log
Git Commits -> Revision cb5a772
Revision cb5a772 by Dalai Felinto (master) June 21, 2016, 02:21 (GMT) |
Text Object: Vertical Alignment A new option for Font/Text objects vertical alignment: * Top Base-Line (current mode) * Top * Center * Bottom The Top is the equivalent as the Top-Baseline with an empty line at the begin of the text. It's nice to have this option too though, since if we are driving the alignment via Python we don't want to add extra lines to the text only to accomodate to the desired vertical alignment. The Center and Bottom are as intuitive as their name suggest. When working with text boxes, the vertical alignment only work for paragraphs that are not vertically full. Many thanks to Campbell Barton (ideasman42 / @campbellbarton) for the code review, code comments, and overall suggestions and changes :) Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D2061 |
Commit Details:
Full Hash: cb5a77253a719c08986aa69a3d3f7fc8725648c7
Parent Commit: 1c19940
Lines Changed: +91, -8
5 Modified Paths:
/release/scripts/startup/bl_ui/properties_data_curve.py (+5, -2) (Diff)
/source/blender/blenkernel/intern/font.c (+57, -0) (Diff)
/source/blender/editors/object/object_edit.c (+1, -0) (Diff)
/source/blender/makesdna/DNA_curve_types.h (+9, -1) (Diff)
/source/blender/makesrna/intern/rna_curve.c (+19, -5) (Diff)
/source/blender/blenkernel/intern/font.c (+57, -0) (Diff)
/source/blender/editors/object/object_edit.c (+1, -0) (Diff)
/source/blender/makesdna/DNA_curve_types.h (+9, -1) (Diff)
/source/blender/makesrna/intern/rna_curve.c (+19, -5) (Diff)