Changed "opacity" property for brushes to "strength", since brushes will
authorNicholas Bishop <nicholasbishop@gmail.com>
Tue, 6 Jan 2009 01:37:12 +0000 (01:37 +0000)
committerNicholas Bishop <nicholasbishop@gmail.com>
Tue, 6 Jan 2009 01:37:12 +0000 (01:37 +0000)
be used for sculpt as well as painting (and particle edit too?)

source/blender/makesrna/intern/rna_brush.c

index 0a5cc5782ca7e4a8ea68b82a218d734005efe6d1..44d386e7cb86529107d18d461558ca2fccca0f52 100644 (file)
@@ -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);