diff options
author | mano-wii <germano.costa@ig.com.br> | 2019-09-20 05:48:37 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-09-20 05:49:13 +0300 |
commit | 9dd64cb08832fae36c1a3ac03127865cff09dc0e (patch) | |
tree | 074d2ac7820fdb9a114aeb943a2e35f1b226ae92 /source/blender | |
parent | fd51d5d4129699e505a426db04fca73c1c5bf8f9 (diff) |
Fix T67174: Weight paint gradient has empty redo panel
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_vertex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_vertex.c b/source/blender/editors/sculpt_paint/paint_vertex.c index d7c419f1265..f994ae12146 100644 --- a/source/blender/editors/sculpt_paint/paint_vertex.c +++ b/source/blender/editors/sculpt_paint/paint_vertex.c @@ -260,7 +260,7 @@ static bool weight_paint_poll_ex(bContext *C, bool check_tool) (BKE_paint_brush(&CTX_data_tool_settings(C)->wpaint->paint) != NULL) && (sa = CTX_wm_area(C)) && (sa->spacetype == SPACE_VIEW3D)) { ARegion *ar = CTX_wm_region(C); - if (ar->regiontype == RGN_TYPE_WINDOW) { + if (ELEM(ar->regiontype, RGN_TYPE_WINDOW, RGN_TYPE_HUD)) { if (!check_tool || WM_toolsystem_active_tool_is_brush(C)) { return 1; } |