diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-23 09:33:23 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-23 09:33:23 +0400 |
commit | 3e9a09d385b1e070b9bf30864c0f5d974f80b80a (patch) | |
tree | 3bea048a4e3fd103f02414c2f4ae6755b521daac /source/blender/editors/sculpt_paint/paint_hide.c | |
parent | 3e6340214d55650ac1560ca16e7e3a239ae889b2 (diff) |
fix for some crashes running operators in background mode.
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_hide.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_hide.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_hide.c b/source/blender/editors/sculpt_paint/paint_hide.c index 25957157aa6..2970bdfb5a4 100644 --- a/source/blender/editors/sculpt_paint/paint_hide.c +++ b/source/blender/editors/sculpt_paint/paint_hide.c @@ -388,7 +388,7 @@ void PAINT_OT_hide_show(struct wmOperatorType *ot) ot->modal = WM_border_select_modal; ot->exec = hide_show_exec; /* sculpt-only for now */ - ot->poll = sculpt_mode_poll; + ot->poll = sculpt_mode_poll_view3d; ot->flag = OPTYPE_REGISTER; |