From d3309ac5c9be791dbc45aafc8a79c94e184b406a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 29 Mar 2014 08:42:11 +1100 Subject: Code cleanup: correct arg size --- source/blender/blenkernel/BKE_brush.h | 2 +- source/blender/blenkernel/intern/brush.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender') diff --git a/source/blender/blenkernel/BKE_brush.h b/source/blender/blenkernel/BKE_brush.h index b4c5f47cf25..104e80e815c 100644 --- a/source/blender/blenkernel/BKE_brush.h +++ b/source/blender/blenkernel/BKE_brush.h @@ -72,7 +72,7 @@ float BKE_brush_curve_strength(struct Brush *br, float p, const float len); /* u /* sampling */ float BKE_brush_sample_tex_3D(const Scene *scene, struct Brush *br, const float point[3], float rgba[4], const int thread, struct ImagePool *pool); -float BKE_brush_sample_masktex(const Scene *scene, struct Brush *br, const float point[3], +float BKE_brush_sample_masktex(const Scene *scene, struct Brush *br, const float point[2], const int thread, struct ImagePool *pool); /* texture */ diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c index 5ef70948bbb..17fdb15399f 100644 --- a/source/blender/blenkernel/intern/brush.c +++ b/source/blender/blenkernel/intern/brush.c @@ -649,7 +649,7 @@ float BKE_brush_sample_tex_3D(const Scene *scene, Brush *br, } float BKE_brush_sample_masktex(const Scene *scene, Brush *br, - const float point[3], + const float point[2], const int thread, struct ImagePool *pool) { -- cgit v1.2.3