diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-14 09:59:34 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-14 09:59:34 +0400 |
commit | 92d45811c388ef9a22662521151aa00deca5d889 (patch) | |
tree | cc1b727a02a9319e21782853d51ad5f70632edea /source/blender/blenkernel/intern/brush.c | |
parent | 0fa006cba1f8f67d91adea0ea9a1c5669ae21b72 (diff) |
fix reading out of buffer bounds for recent vertex paint commit.
Diffstat (limited to 'source/blender/blenkernel/intern/brush.c')
-rw-r--r-- | source/blender/blenkernel/intern/brush.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c index 5d7f9afa78c..d341a2c06e1 100644 --- a/source/blender/blenkernel/intern/brush.c +++ b/source/blender/blenkernel/intern/brush.c @@ -476,7 +476,7 @@ int BKE_brush_clone_image_delete(Brush *brush) * region space mouse coordinates, or 3d world coordinates for 3D mapping */ float BKE_brush_sample_tex_3D(const Scene *scene, Brush *br, const float point[3], - float rgba[3], const int thread, + float rgba[4], const int thread, struct ImagePool *pool) { UnifiedPaintSettings *ups = &scene->toolsettings->unified_paint_settings; |