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:
authorCampbell Barton <ideasman42@gmail.com>2019-01-02 07:31:56 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-02 07:31:56 +0300
commit2b3effe0ce57909ca6855ccb21d80414cbd7d64a (patch)
tree2ae837952cb1eb09cbe93553e8af1e823af38be5 /source/blender/editors/gpencil
parent46a6085c47aedaeb9838a8ce10ff488913a44d87 (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.c2
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) {