Revert part of previous commit
The change to the `poll()` callback was actually incorrect. But also reduandant, since the function is actually already executed in the operator.
This commit is contained in:
parent
9668fc582c
commit
806edf11ba
|
@ -1666,7 +1666,7 @@ static void VIEW2D_OT_ndof(wmOperatorType *ot)
|
|||
|
||||
/* api callbacks */
|
||||
ot->invoke = view2d_ndof_invoke;
|
||||
ot->poll = view_zoom_poll;
|
||||
ot->poll = view2d_poll;
|
||||
|
||||
/* flags */
|
||||
ot->flag = OPTYPE_LOCK_BYPASS;
|
||||
|
|
Loading…
Reference in New Issue