diff options
author | Julian Eisel <julian@blender.org> | 2020-10-03 22:51:50 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-10-03 22:51:50 +0300 |
commit | 806edf11ba7f3bfa5b325419096d883299fc3571 (patch) | |
tree | 0652ea7b5e17bb973f5e3afe5ed46aa5946ceef0 /source/blender/editors/interface | |
parent | 9668fc582ccb0a8030e4820c00f2d3888d22b7e6 (diff) |
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.
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/view2d_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/view2d_ops.c b/source/blender/editors/interface/view2d_ops.c index 2339ba72a52..95b543e124d 100644 --- a/source/blender/editors/interface/view2d_ops.c +++ b/source/blender/editors/interface/view2d_ops.c @@ -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; |