Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-03-14 09:59:34 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-03-14 09:59:34 +0400
commit92d45811c388ef9a22662521151aa00deca5d889 (patch)
treecc1b727a02a9319e21782853d51ad5f70632edea /source/blender/blenkernel/intern
parent0fa006cba1f8f67d91adea0ea9a1c5669ae21b72 (diff)
fix reading out of buffer bounds for recent vertex paint commit.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r--source/blender/blenkernel/intern/brush.c2
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;