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:
Julian Eisel 2020-10-03 21:51:50 +02:00
parent 9668fc582c
commit 806edf11ba
1 changed files with 1 additions and 1 deletions

View File

@ -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;