Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-05-15 10:00:53 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-05-15 10:04:08 +0400
commitc7ab68f1c4d02136bd70d4a17eaae4b78254db74 (patch)
treee1325ea03f6c24d47130188d0ebefb0e12fd4e46 /source/blender/makesrna/intern/rna_curve.c
parent2eeab8f1912e2214044b9aacb11acbb54d07de7b (diff)
Fixes for font underline
- underline faces had flipped winding by default. - BKE_vfont_to_curve_ex disallowed 0 underline height (annoying when sliding value) - disallow negative underline height since it flips underline direction (just change position + height)
Diffstat (limited to 'source/blender/makesrna/intern/rna_curve.c')
-rw-r--r--source/blender/makesrna/intern/rna_curve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_curve.c b/source/blender/makesrna/intern/rna_curve.c
index 142b4ed6574..79c19c4c246 100644
--- a/source/blender/makesrna/intern/rna_curve.c
+++ b/source/blender/makesrna/intern/rna_curve.c
@@ -1021,7 +1021,7 @@ static void rna_def_font(BlenderRNA *UNUSED(brna), StructRNA *srna)
prop = RNA_def_property(srna, "underline_height", PROP_FLOAT, PROP_NONE);
RNA_def_property_float_sdna(prop, NULL, "ulheight");
- RNA_def_property_range(prop, -0.2f, 0.8f);
+ RNA_def_property_range(prop, 0.0f, 0.8f);
RNA_def_property_ui_text(prop, "Underline Thickness", "");
RNA_def_property_update(prop, 0, "rna_Curve_update_data");