From 515e69999e63aab7720e48b0c85233f61facce65 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 3 Oct 2017 18:43:18 +1100 Subject: Weight Paint: don't set weight w/ average brush Also use 'const' for brush. --- 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 c1e107e101a..c6d4217780e 100644 --- a/source/blender/blenkernel/BKE_brush.h +++ b/source/blender/blenkernel/BKE_brush.h @@ -74,7 +74,7 @@ float BKE_brush_curve_strength(const struct Brush *br, float p, const float len) /* sampling */ float BKE_brush_sample_tex_3D( - const struct Scene *scene, struct Brush *br, const float point[3], + const struct Scene *scene, const struct Brush *br, const float point[3], float rgba[4], const int thread, struct ImagePool *pool); float BKE_brush_sample_masktex( const struct Scene *scene, struct Brush *br, const float point[2], -- cgit v1.2.3