[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30698] branches/soc-2008-mxcurioni/source /blender/makesrna/intern/rna_linestyle.c: Changed the RNA subtype of the " alpha" property of a line style

Tamito Kajiyama rd6t-kjym at asahi-net.or.jp
Sat Jul 24 22:39:31 CEST 2010


Revision: 30698
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30698
Author:   kjym3
Date:     2010-07-24 22:39:31 +0200 (Sat, 24 Jul 2010)

Log Message:
-----------
Changed the RNA subtype of the "alpha" property of a line style
from PROP_NONE to PROP_FACTOR.

Modified Paths:
--------------
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_linestyle.c

Modified: branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_linestyle.c
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_linestyle.c	2010-07-24 20:37:54 UTC (rev 30697)
+++ branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_linestyle.c	2010-07-24 20:39:31 UTC (rev 30698)
@@ -396,7 +396,7 @@
 	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.");





More information about the Bf-blender-cvs mailing list