diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-02 07:31:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-02 07:31:56 +0300 |
commit | 2b3effe0ce57909ca6855ccb21d80414cbd7d64a (patch) | |
tree | 2ae837952cb1eb09cbe93553e8af1e823af38be5 /source/blender/editors/gpencil | |
parent | 46a6085c47aedaeb9838a8ce10ff488913a44d87 (diff) |
Cleanup: rename target_weight -> weight
Match name of mesh weight paint.
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_brush.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_brush.c b/source/blender/editors/gpencil/gpencil_brush.c index 95644bd690c..412330ccf5c 100644 --- a/source/blender/editors/gpencil/gpencil_brush.c +++ b/source/blender/editors/gpencil/gpencil_brush.c @@ -914,7 +914,7 @@ static bool gp_brush_weight_apply( } /* verify target weight */ - CLAMP_MAX(curweight, gso->gp_brush->target_weight); + CLAMP_MAX(curweight, gso->gp_brush->weight); CLAMP(curweight, 0.0f, 1.0f); if (dw) { |