diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-03-29 01:42:11 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-03-29 01:42:59 +0400 |
commit | d3309ac5c9be791dbc45aafc8a79c94e184b406a (patch) | |
tree | 542aa42d0f8ca57481cbc65809cb099aa54173ab /source/blender | |
parent | 025421950bfc11900ae86d1b4b71c8e894558dde (diff) |
Code cleanup: correct arg size
Diffstat (limited to 'source/blender')
-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) { |