Commit: 8aa0188de5ec4df69aef124db3970f7de32922b6
Author: Antonioya
Date: Thu Dec 6 19:21:30 2018 +0100
Branches: greasepencil-object
https://developer.blender.org/rB8aa0188de5ec4df69aef124db3970f7de32922b6
GP: Use brush strength when draw primitves
===================================================================
M source/blender/editors/gpencil/gpencil_primitive.c
===================================================================
diff --git a/source/blender/editors/gpencil/gpencil_primitive.c
b/source/blender/editors/gpencil/gpencil_primitive.c
index 9c77aa90129..11061d29b5c 100644
--- a/source/blender/editors/gpencil/gpencil_primitive.c
+++ b/source/blender/editors/gpencil/gpencil_primitive.c
@@ -508,7 +508,8 @@ static void gp_primitive_update_strokes(bContext *C,
tGPDprimitive *tgpi)
tpt->x = p2d->x;
tpt->y = p2d->y;
tpt->pressure = 1.0f;
- tpt->strength = 1.0f;
+ tpt->strength = tgpi->brush->gpencil_settings->draw_strength;
+
tpt->time = p2d->time;
tpt->uv_fac = p2d->uv_fac;
tpt->uv_rot = p2d->uv_rot;
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs