diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-08-01 18:28:30 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-08-01 18:28:30 +0300 |
commit | 110abebe1d4a4fe4667b42ad47adcf33bfcafad0 (patch) | |
tree | 0d0070b23a900325dfbabdda0d7f8be01042a895 /source/blender/editors | |
parent | be5ccb9ce886850ea6c5db337423e68e729f17c7 (diff) |
Fix missing poll function for flip_matcap operator (see T56183).
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_header.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/view3d_header.c b/source/blender/editors/space_view3d/view3d_header.c index c9277235d50..da449fac183 100644 --- a/source/blender/editors/space_view3d/view3d_header.c +++ b/source/blender/editors/space_view3d/view3d_header.c @@ -245,6 +245,7 @@ void VIEW3D_OT_toggle_matcap_flip(wmOperatorType *ot) /* api callbacks */ ot->exec = toggle_matcap_flip; + ot->poll = ED_operator_view3d_active; } /** \} */ |