[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [18355] branches/blender2.5/blender/source /blender/makesrna/intern/rna_brush.c: Changed "opacity" property for brushes to "strength", since brushes will
Nicholas Bishop
nicholasbishop at gmail.com
Tue Jan 6 02:37:13 CET 2009
Revision: 18355
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=18355
Author: nicholasbishop
Date: 2009-01-06 02:37:12 +0100 (Tue, 06 Jan 2009)
Log Message:
-----------
Changed "opacity" property for brushes to "strength", since brushes will
be used for sculpt as well as painting (and particle edit too?)
Modified Paths:
--------------
branches/blender2.5/blender/source/blender/makesrna/intern/rna_brush.c
Modified: branches/blender2.5/blender/source/blender/makesrna/intern/rna_brush.c
===================================================================
--- branches/blender2.5/blender/source/blender/makesrna/intern/rna_brush.c 2009-01-06 00:56:20 UTC (rev 18354)
+++ branches/blender2.5/blender/source/blender/makesrna/intern/rna_brush.c 2009-01-06 01:37:12 UTC (rev 18355)
@@ -82,10 +82,10 @@
RNA_def_property_float_sdna(prop, NULL, "rgb");
RNA_def_property_ui_text(prop, "Color", "");
- prop= RNA_def_property(srna, "opacity", PROP_FLOAT, PROP_NONE);
+ prop= RNA_def_property(srna, "strength", PROP_FLOAT, PROP_NONE);
RNA_def_property_float_sdna(prop, NULL, "alpha");
RNA_def_property_range(prop, 0.0f, 1.0f);
- RNA_def_property_ui_text(prop, "Opacity", "The amount of pressure on the brush.");
+ RNA_def_property_ui_text(prop, "Strength", "The amount of pressure on the brush.");
/* flag */
prop= RNA_def_property(srna, "airbrush", PROP_BOOLEAN, PROP_NONE);
More information about the Bf-blender-cvs
mailing list