when draw-other-uv's is enabled. fallback to the spaces image if no active face is found.

This commit is contained in:
Campbell Barton
2012-06-22 12:31:16 +00:00
parent 238d3fa4bb
commit 35bc9b612d

View File

@@ -467,7 +467,7 @@ static void draw_uvs(SpaceImage *sima, Scene *scene, Object *obedit)
/* draw other uvs */
if (sima->flag & SI_DRAW_OTHER) {
Image *curimage = (activetf) ? activetf->tpage : NULL;
Image *curimage = (activetf) ? activetf->tpage : ima;
draw_uvs_other(scene, obedit, curimage);
}