diff options
Diffstat (limited to 'source/blender/src/imagepaint.c')
-rw-r--r-- | source/blender/src/imagepaint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/imagepaint.c b/source/blender/src/imagepaint.c index a6b5f1654ef..0cb8c2feb66 100644 --- a/source/blender/src/imagepaint.c +++ b/source/blender/src/imagepaint.c @@ -546,7 +546,7 @@ static void imapaint_paint_stroke(ImagePaintState *s, BrushPainter *painter, sho /* pick face and image */ if (facesel_face_pick(s->me, mval, &newfaceindex, 0)) { - newimage = (Image*)((s->me->tface+newfaceindex)->tpage); + newimage = (Image*)((s->me->mtface+newfaceindex)->tpage); texpaint_pick_uv(s->ob, s->me, newfaceindex, mval, newuv); } else |