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:
authorNicholas Bishop <nicholasbishop@gmail.com>2009-01-06 04:37:12 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2009-01-06 04:37:12 +0300
commit21b80568b6deb2679cf7c2c3296d43944933c28b (patch)
treeeaf406dd6c70d7e92ae244060a2225887a5eb483 /source/blender/makesrna/intern/rna_brush.c
parent0d9feca157552353fb4537fc33f274d180967ae3 (diff)
Changed "opacity" property for brushes to "strength", since brushes will
be used for sculpt as well as painting (and particle edit too?)
Diffstat (limited to 'source/blender/makesrna/intern/rna_brush.c')
-rw-r--r--source/blender/makesrna/intern/rna_brush.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_brush.c b/source/blender/makesrna/intern/rna_brush.c
index 0a5cc5782ca..44d386e7cb8 100644
--- a/source/blender/makesrna/intern/rna_brush.c
+++ b/source/blender/makesrna/intern/rna_brush.c
@@ -82,10 +82,10 @@ void rna_def_brush(BlenderRNA *brna)
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);