diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-11-14 16:06:29 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-11-14 16:06:39 +0300 |
commit | 8d5d6de7615c79a79a0ab3fa95319650ebe89206 (patch) | |
tree | 171b276b6223bc9a4129e62d773dff5a17c8e5ca /source/blender/editors/uvedit | |
parent | bed09959765ef5f09ff81145636797d45fbc1111 (diff) |
Reuse local view for UVs for previous commit, thanks to Campbell for the
suggestion.
Also minor compile fix after viewport patch
Diffstat (limited to 'source/blender/editors/uvedit')
-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 7b674e75525..4c93cfa2cc5 100644 --- a/source/blender/editors/uvedit/uvedit_draw.c +++ b/source/blender/editors/uvedit/uvedit_draw.c @@ -506,7 +506,7 @@ static void draw_uvs_texpaint(SpaceImage *sima, Scene *scene, Object *ob) mloopuv_base = mloopuv; for (a = me->totpoly; a > 0; a--, mpoly++) { - if ((sima->flag & SI_TEXPAINT_FILTER_MATERIAL) && mpoly->mat_nr != ob->actcol - 1) + if ((scene->toolsettings->uv_flag & UV_SHOW_SAME_IMAGE) && mpoly->mat_nr != ob->actcol - 1) continue; glBegin(GL_LINE_LOOP); |