Fix missing poll function for flip_matcap operator (see T56183).
This commit is contained in:
parent
be5ccb9ce8
commit
110abebe1d
|
@ -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;
|
||||
}
|
||||
|
||||
/** \} */
|
||||
|
|
Loading…
Reference in New Issue