diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-06-28 13:42:17 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-06-28 13:42:17 +0400 |
commit | 57f4844c43c097356c321f6b7efd00646ecd50fc (patch) | |
tree | eec787ce83114fb941e340c1fd1ba613d96eb1ca /source/blender/editors/uvedit/uvedit_draw.c | |
parent | fdbae9966851e8a7cb981c2755482e7500e4ea38 (diff) |
make drawing faces in the UV editor an image space option, re-using the mesh option was lazy and doesn't make much sense.
Diffstat (limited to 'source/blender/editors/uvedit/uvedit_draw.c')
-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 8d73da0063c..453bea0969b 100644 --- a/source/blender/editors/uvedit/uvedit_draw.c +++ b/source/blender/editors/uvedit/uvedit_draw.c @@ -474,7 +474,7 @@ static void draw_uvs(SpaceImage *sima, Scene *scene, Object *obedit) if(sima->flag & SI_DRAW_STRETCH) { draw_uvs_stretch(sima, scene, em, activetf); } - else if(me->drawflag & ME_DRAWFACES) { + else if(!(sima->flag & SI_NO_DRAWFACES)) { /* draw transparent faces */ UI_GetThemeColor4ubv(TH_FACE, col1); UI_GetThemeColor4ubv(TH_FACE_SELECT, col2); |