diff options
-rw-r--r-- | source/blender/blenkernel/BKE_brush.h | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/brush.c | 2 |
2 files changed, 2 insertions, 2 deletions
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) { |