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:
authorAntonioya <blendergit@gmail.com>2018-11-21 11:03:17 +0300
committerAntonioya <blendergit@gmail.com>2018-11-21 11:03:17 +0300
commit3a64d7ca48cc238c706197eebecfc19e7ec15053 (patch)
tree801d19d11eb846bd53d6d464c0085ad21a0d73cc /source/blender/editors/gpencil
parent7de712e1e54e6a94cccee25cef207169898507c5 (diff)
GP: Remove Target Weight switch
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r--source/blender/editors/gpencil/gpencil_brush.c4
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) {