diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-13 01:51:33 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-13 01:52:12 +0400 |
commit | aea00c7a81de90fd3f0b976ee1a7d5040c9f18e7 (patch) | |
tree | ade0cea55687b6b69673adb7ea4ad24e61b4adf8 /source/blender/editors/sculpt_paint/sculpt_uv.c | |
parent | 8547d17739d1fc6eb2bd648af8dadae809865614 (diff) |
Code cleanup: style
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_uv.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_uv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_uv.c b/source/blender/editors/sculpt_paint/sculpt_uv.c index c42e3e4b298..4dc2c87ca0a 100644 --- a/source/blender/editors/sculpt_paint/sculpt_uv.c +++ b/source/blender/editors/sculpt_paint/sculpt_uv.c @@ -169,7 +169,9 @@ static int uv_sculpt_brush_poll(bContext *C) if (!uv_sculpt_brush(C) || !obedit || obedit->type != OB_MESH || !sima || ED_space_image_show_render(sima) || (sima->mode == SI_MODE_PAINT)) + { return 0; + } em = BKE_editmesh_from_object(obedit); ret = EDBM_mtexpoly_check(em); |