diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-06-22 16:31:16 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-06-22 16:31:16 +0400 |
commit | 35bc9b612d12f4b673cd76bf70dfacba28b5671b (patch) | |
tree | a3d76cd22445817e7f53211773a6730e97afaa46 /source/blender/editors | |
parent | 238d3fa4bbd63e58538b67ff00fd655fbebc8b49 (diff) |
when draw-other-uv's is enabled. fallback to the spaces image if no active face is found.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/uvedit/uvedit_draw.c b/source/blender/editors/uvedit/uvedit_draw.c index a90f8253654..d52463cf406 100644 --- a/source/blender/editors/uvedit/uvedit_draw.c +++ b/source/blender/editors/uvedit/uvedit_draw.c @@ -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); } |