diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-01-04 08:16:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-01-04 09:40:05 +0300 |
commit | 3254a63218dd0ace82bca0b578ee74827bf2fa6d (patch) | |
tree | 223b3f117510dd1bc3dbe932a3850056331332ef /source/blender/editors/sculpt_paint | |
parent | dcdc0f177a3907085a2f8208ceb5680ab4b57142 (diff) |
Cleanup: correct array size in argument
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_image_proj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c index 087e9128149..6e6386b24aa 100644 --- a/source/blender/editors/sculpt_paint/paint_image_proj.c +++ b/source/blender/editors/sculpt_paint/paint_image_proj.c @@ -2210,7 +2210,7 @@ static bool line_clip_rect2f(const rctf *cliprect, */ #ifndef PROJ_DEBUG_NOSEAMBLEED -static void scale_tri(float insetCos[3][3], const float *origCos[4], const float inset) +static void scale_tri(float insetCos[3][3], const float *origCos[3], const float inset) { float cent[3]; cent[0] = (origCos[0][0] + origCos[1][0] + origCos[2][0]) * (1.0f / 3.0f); |