[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [21596] branches/blender2.5/blender/source /blender/makesrna/intern/rna_scene.c: tiny fix: stamp alpha color was lacking range parameter
Dalai Felinto
dfelinto at gmail.com
Wed Jul 15 05:47:06 CEST 2009
Revision: 21596
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21596
Author: dfelinto
Date: 2009-07-15 05:47:05 +0200 (Wed, 15 Jul 2009)
Log Message:
-----------
tiny fix: stamp alpha color was lacking range parameter
I was going to commit it later with other changes, but I'm changing other stuff at rna_scene.c for the gamedata, and didn't want to mix it up.
Modified Paths:
--------------
branches/blender2.5/blender/source/blender/makesrna/intern/rna_scene.c
Modified: branches/blender2.5/blender/source/blender/makesrna/intern/rna_scene.c
===================================================================
--- branches/blender2.5/blender/source/blender/makesrna/intern/rna_scene.c 2009-07-14 23:26:26 UTC (rev 21595)
+++ branches/blender2.5/blender/source/blender/makesrna/intern/rna_scene.c 2009-07-15 03:47:05 UTC (rev 21596)
@@ -1220,12 +1220,14 @@
prop= RNA_def_property(srna, "stamp_foreground", PROP_FLOAT, PROP_COLOR);
RNA_def_property_float_sdna(prop, NULL, "fg_stamp");
RNA_def_property_array(prop, 4);
+ RNA_def_property_range(prop,0.0,1.0);
RNA_def_property_ui_text(prop, "Stamp Foreground", "Stamp text color");
RNA_def_property_update(prop, NC_SCENE|ND_RENDER_OPTIONS, NULL);
prop= RNA_def_property(srna, "stamp_background", PROP_FLOAT, PROP_COLOR);
RNA_def_property_float_sdna(prop, NULL, "bg_stamp");
RNA_def_property_array(prop, 4);
+ RNA_def_property_range(prop,0.0,1.0);
RNA_def_property_ui_text(prop, "Stamp Background", "Color to use behind stamp text");
RNA_def_property_update(prop, NC_SCENE|ND_RENDER_OPTIONS, NULL);
More information about the Bf-blender-cvs
mailing list