diff options
author | Antonioya <blendergit@gmail.com> | 2018-11-21 11:03:17 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-11-21 11:03:17 +0300 |
commit | 3a64d7ca48cc238c706197eebecfc19e7ec15053 (patch) | |
tree | 801d19d11eb846bd53d6d464c0085ad21a0d73cc /source/blender/editors/gpencil | |
parent | 7de712e1e54e6a94cccee25cef207169898507c5 (diff) |
GP: Remove Target Weight switch
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_brush.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/editors/gpencil/gpencil_brush.c b/source/blender/editors/gpencil/gpencil_brush.c index 84a05025cd7..657c3c8b9b6 100644 --- a/source/blender/editors/gpencil/gpencil_brush.c +++ b/source/blender/editors/gpencil/gpencil_brush.c @@ -911,9 +911,7 @@ static bool gp_brush_weight_apply( } /* verify target weight */ - if (gso->gp_brush->flag & GP_SCULPT_FLAG_TARGET_WEIGHT) { - CLAMP_MAX(curweight, gso->gp_brush->target_weight); - } + CLAMP_MAX(curweight, gso->gp_brush->target_weight); CLAMP(curweight, 0.0f, 1.0f); if (dw) { |