[Bf-blender-cvs] [5649875] master: Clip Editor: Enable Continuous Grab for view panning
Julian Eisel
noreply at git.blender.org
Thu Sep 22 22:51:47 CEST 2016
Commit: 56498757ce971af60d27e619ca84249675413f17
Author: Julian Eisel
Date: Thu Sep 22 22:49:01 2016 +0200
Branches: master
https://developer.blender.org/rB56498757ce971af60d27e619ca84249675413f17
Clip Editor: Enable Continuous Grab for view panning
===================================================================
M source/blender/editors/space_clip/clip_ops.c
===================================================================
diff --git a/source/blender/editors/space_clip/clip_ops.c b/source/blender/editors/space_clip/clip_ops.c
index 6778a0b..de8d760 100644
--- a/source/blender/editors/space_clip/clip_ops.c
+++ b/source/blender/editors/space_clip/clip_ops.c
@@ -476,7 +476,7 @@ void CLIP_OT_view_pan(wmOperatorType *ot)
ot->poll = ED_space_clip_view_clip_poll;
/* flags */
- ot->flag = OPTYPE_BLOCKING;
+ ot->flag = OPTYPE_BLOCKING | OPTYPE_GRAB_CURSOR;
/* properties */
RNA_def_float_vector(ot->srna, "offset", 2, NULL, -FLT_MAX, FLT_MAX,
More information about the Bf-blender-cvs
mailing list