Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-05-31 19:00:08 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-05-31 19:00:08 +0300
commita55d79ed25b8152d04157c31f365027e4f6a6b9a (patch)
treee8166e52b3988570290df1264cdb8d7909967988 /source
parentf87bba0368ea3d0b71559cfae662ae9e3b39ad6f (diff)
Fix T65311: crash using 3D viewport panning outside viewport
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_view3d/view3d_edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c
index 63d28c7d2ec..1ee572211c0 100644
--- a/source/blender/editors/space_view3d/view3d_edit.c
+++ b/source/blender/editors/space_view3d/view3d_edit.c
@@ -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 */