Fix T65311: crash using 3D viewport panning outside viewport

This commit is contained in:
Brecht Van Lommel 2019-05-31 18:00:08 +02:00
parent f87bba0368
commit a55d79ed25
Notes: blender-bot 2023-02-14 11:34:30 +01:00
Referenced by issue #65311, Crash when right click on buttons
1 changed files with 1 additions and 1 deletions

View File

@ -1790,7 +1790,7 @@ void VIEW3D_OT_move(wmOperatorType *ot)
/* api callbacks */
ot->invoke = viewmove_invoke;
ot->modal = viewmove_modal;
ot->poll = ED_operator_view3d_active;
ot->poll = ED_operator_region_view3d_active;
ot->cancel = viewmove_cancel;
/* flags */