From b2a10fa615efcf403a9ca23005d86ca149ebf56b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 2 Oct 2017 21:07:25 +1100 Subject: Vertex Paint: projection options This makes vertex paint match image painting more closely. - Add falloff shape option sphere/circle where sphere uses a 3D radius around the cursor and circle uses a 2D radius (projected), like previous releases. - Add normal angle option so you can control the falloff. - Add Cull option, to paint onto faces pointing away. Disabling normals, culling and using circle falloff allows you to paint through the mesh. --- source/blender/blenkernel/BKE_brush.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenkernel/BKE_brush.h') diff --git a/source/blender/blenkernel/BKE_brush.h b/source/blender/blenkernel/BKE_brush.h index dedb75a080a..c1e107e101a 100644 --- a/source/blender/blenkernel/BKE_brush.h +++ b/source/blender/blenkernel/BKE_brush.h @@ -70,7 +70,7 @@ void BKE_brush_randomize_texture_coords(struct UnifiedPaintSettings *ups, bool m /* brush curve */ void BKE_brush_curve_preset(struct Brush *b, int preset); float BKE_brush_curve_strength_clamped(struct Brush *br, float p, const float len); -float BKE_brush_curve_strength(struct Brush *br, float p, const float len); +float BKE_brush_curve_strength(const struct Brush *br, float p, const float len); /* sampling */ float BKE_brush_sample_tex_3D( -- cgit v1.2.3