diff options
author | Ton Roosendaal <ton@blender.org> | 2011-01-09 21:43:47 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2011-01-09 21:43:47 +0300 |
commit | 4a8dd84625c1f88abb09ae853cf32130f5674335 (patch) | |
tree | 7ddad8a24227de496ff7f85a60a0455617c19ff3 /source/blender/editors/sculpt_paint | |
parent | 1786923afc85ede081dc3ed1a3970965a61dd761 (diff) |
Bugfix #25557
Using texture brush in Sculpt, was calling to use "osa tex"
without giving it osa sample vectors. This crashed in using
texture nodes.
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_utils.c b/source/blender/editors/sculpt_paint/paint_utils.c index da8eff6c581..2962ea7e51b 100644 --- a/source/blender/editors/sculpt_paint/paint_utils.c +++ b/source/blender/editors/sculpt_paint/paint_utils.c @@ -78,7 +78,7 @@ float paint_get_tex_pixel(Brush* br, float u, float v) co[2] = 0; memset(&texres, 0, sizeof(TexResult)); - hasrgb = multitex_ext(br->mtex.tex, co, NULL, NULL, 1, &texres); + hasrgb = multitex_ext(br->mtex.tex, co, NULL, NULL, 0, &texres); if (hasrgb & TEX_RGB) texres.tin = (0.35*texres.tr + 0.45*texres.tg + 0.2*texres.tb)*texres.ta; |