diff options
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); |