Fix #32468: 3d view texture paint mode did not show uv layout in image editor.

This commit is contained in:
Brecht Van Lommel
2012-09-03 11:26:04 +00:00
parent 737f2e8be8
commit acebddeb23

View File

@@ -415,7 +415,7 @@ static void draw_uvs_texpaint(SpaceImage *sima, Scene *scene, Object *ob)
glColor3ub(112, 112, 112);
if (me->mtface) {
if (me->mtpoly) {
MPoly *mpoly = me->mpoly;
MTexPoly *tface = me->mtpoly;
MLoopUV *mloopuv;