Commit: 81e9011f577000ca00827c6bb7b6eb9203840a0e Author: Pablo Dobarro Date: Sun Jun 30 00:36:43 2019 +0200 Branches: sculpt-mode-features https://developer.blender.org/rB81e9011f577000ca00827c6bb7b6eb9203840a0e
Fix color fill mask intensity I added this multiplication to fix the pressure sensitivity of my broken wacom pen while testing the paint brush. I should add separate sculpt and paint strength factors. =================================================================== M source/blender/editors/sculpt_paint/sculpt.c =================================================================== diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index c9ea21c6315..549bcbd505e 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -2683,7 +2683,6 @@ static void do_mask_brush(Sculpt *sd, Object *ob, PBVHNode **nodes, int totnode) static void apply_color(SculptSession *ss, PBVHVertexIter *vd, const Brush *brush, float fade) { float factor = ss->cache ? fade * fabs(ss->cache->bstrength) : fade; - factor *= 2; CLAMP(factor, 0.0f, 1.0f); char r = brush->rgb[0] * 255; char g = brush->rgb[1] * 255; _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs