Cleanup: rename target_weight -> weight
[blender.git] / source / blender / editors / gpencil / gpencil_brush.c
index 95644bd690ce42e19435d5b0460c1425d1a62d4a..412330ccf5c8c43d369b8821cfd71f6a4c7ab4e1 100644 (file)
@@ -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) {