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:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2010-07-25 00:39:31 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2010-07-25 00:39:31 +0400
commit29fac1b7dab9f0af3dea8bb44e81c716da8691bd (patch)
tree1352dda92fda827a1309e0b2e79f14831b277c3a /source/blender/makesrna/intern/rna_linestyle.c
parent230e224204298df625853809beb1ff2b9e66553f (diff)
Changed the RNA subtype of the "alpha" property of a line style
from PROP_NONE to PROP_FACTOR.
Diffstat (limited to 'source/blender/makesrna/intern/rna_linestyle.c')
-rw-r--r--source/blender/makesrna/intern/rna_linestyle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_linestyle.c b/source/blender/makesrna/intern/rna_linestyle.c
index fba49a57aed..622f14a8af1 100644
--- a/source/blender/makesrna/intern/rna_linestyle.c
+++ b/source/blender/makesrna/intern/rna_linestyle.c
@@ -396,7 +396,7 @@ static void rna_def_linestyle(BlenderRNA *brna)
RNA_def_property_ui_text(prop, "Color", "Base line color, possibly modified by line color modifiers.");
RNA_def_property_update(prop, NC_SCENE, NULL);
- prop= RNA_def_property(srna, "alpha", PROP_FLOAT, PROP_NONE);
+ prop= RNA_def_property(srna, "alpha", PROP_FLOAT, PROP_FACTOR);
RNA_def_property_float_sdna(prop, NULL, "alpha");
RNA_def_property_range(prop, 0.0f, 1.0f);
RNA_def_property_ui_text(prop, "Alpha", "Base alpha transparency, possibly modified by alpha transparency modifiers.");