diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-04-02 20:29:34 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-04-02 20:29:34 +0400 |
commit | 095118d21e2d39dc82ee02730732c4b1d0b662b9 (patch) | |
tree | 31a0fb03a5f0e2f28f830b554981f8e9518a6176 /source/blender/editors/space_image | |
parent | 7c4bb6f4b761329d6d4d27e9660f6cf03d6d6946 (diff) |
Fix #30776: image editor pan not using continuous grab if enabled.
Diffstat (limited to 'source/blender/editors/space_image')
-rw-r--r-- | source/blender/editors/space_image/image_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_image/image_ops.c b/source/blender/editors/space_image/image_ops.c index ad4921d225c..1602fe48a17 100644 --- a/source/blender/editors/space_image/image_ops.c +++ b/source/blender/editors/space_image/image_ops.c @@ -342,7 +342,7 @@ void IMAGE_OT_view_pan(wmOperatorType *ot) ot->poll = space_image_main_area_poll; /* flags */ - ot->flag = OPTYPE_BLOCKING; + ot->flag = OPTYPE_BLOCKING | OPTYPE_GRAB_POINTER; /* properties */ RNA_def_float_vector(ot->srna, "offset", 2, NULL, -FLT_MAX, FLT_MAX, |