diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-04-02 20:30:01 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-04-02 20:30:01 +0400 |
commit | 186d16e325cc16d0a108e1a82fb428792ee64536 (patch) | |
tree | 98b86177cf604fe1697a8c9708565a8408e73180 /source/blender/editors/space_image | |
parent | 095118d21e2d39dc82ee02730732c4b1d0b662b9 (diff) |
Fix #30769: cycles showing wrong image from active face in the uv editor,
with multiple material slots.
Diffstat (limited to 'source/blender/editors/space_image')
-rw-r--r-- | source/blender/editors/space_image/space_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_image/space_image.c b/source/blender/editors/space_image/space_image.c index c6d36842207..55130406e7a 100644 --- a/source/blender/editors/space_image/space_image.c +++ b/source/blender/editors/space_image/space_image.c @@ -603,7 +603,7 @@ static void image_refresh(const bContext *C, ScrArea *UNUSED(sa)) if (efa) { Image *node_ima; - ED_object_get_active_image(obedit, efa->mat_nr, &node_ima, NULL, NULL); + ED_object_get_active_image(obedit, efa->mat_nr+1, &node_ima, NULL, NULL); if (node_ima) sima->image = node_ima; |