diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-10-30 00:32:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-10-30 00:50:44 +0300 |
commit | 79ff9a0e19018982baa6dbc9fe6c68b7819f5b9a (patch) | |
tree | 25e1c11c57cd0b2293a64acb7a3fe1da0763aec2 /source/blender/makesrna/intern/rna_space.c | |
parent | d69fe6325dbe173219dfe35bbb7a657b5de01cba (diff) |
3D View: use 1.0 opacity for wpaint shading
Now the colors are multiplied, faded color isn't useful to see weights.
Matches 2.7x behavior.
Diffstat (limited to 'source/blender/makesrna/intern/rna_space.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index 56385ee5447..53aad570c2b 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -2935,7 +2935,7 @@ static void rna_def_space_view3d_overlay(BlenderRNA *brna) prop = RNA_def_property(srna, "weight_paint_mode_opacity", PROP_FLOAT, PROP_FACTOR); RNA_def_property_float_sdna(prop, NULL, "overlay.weight_paint_mode_opacity"); - RNA_def_property_float_default(prop, 0.8f); + RNA_def_property_float_default(prop, 1.0f); RNA_def_property_ui_text(prop, "Weight Paint Opacity", "Opacity of the weight paint mode overlay"); RNA_def_property_range(prop, 0.0f, 1.0f); RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL); |