Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-06-22 16:31:16 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-22 16:31:16 +0400
commit35bc9b612d12f4b673cd76bf70dfacba28b5671b (patch)
treea3d76cd22445817e7f53211773a6730e97afaa46 /source/blender/editors/uvedit
parent238d3fa4bbd63e58538b67ff00fd655fbebc8b49 (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/uvedit')
-rw-r--r--source/blender/editors/uvedit/uvedit_draw.c2
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);
}