diff options
author | Philipp Oeser <noreply@developer.blender.org> | 2016-04-01 15:20:22 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-04-01 15:22:54 +0300 |
commit | ae49f2ed99b650669541daf056e979c28dc7c73b (patch) | |
tree | edca26a1890124b9162510a8661ac385cf34c097 /source/blender/editors/sculpt_paint | |
parent | f185effa1507ef35654531b42852fc68ff06ffa9 (diff) |
Fix T48013: UV Sculpt Brush Does not appear in UV window - but does show up in uv panels (t, n)
Epic fail in recent rB2c3985 :/
To be backported to 2.77a!
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_uv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_uv.c b/source/blender/editors/sculpt_paint/sculpt_uv.c index 8ed654c7042..fd2a0b15cb9 100644 --- a/source/blender/editors/sculpt_paint/sculpt_uv.c +++ b/source/blender/editors/sculpt_paint/sculpt_uv.c @@ -177,7 +177,7 @@ static int uv_sculpt_brush_poll_do(bContext *C, const bool check_region) if (ret) { ARegion *ar = CTX_wm_region(C); - if ((!toolsettings->use_uv_sculpt) || (check_region && ar && (ar->regiontype == RGN_TYPE_WINDOW))) { + if ((!toolsettings->use_uv_sculpt) || (check_region && ar && (ar->regiontype != RGN_TYPE_WINDOW))) { ret = 0; } } |