Code cleanup: correct arg size
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user