[Bf-blender-cvs] [a1549bc] master: Image Space: enable zoom/cursor warping

Campbell Barton noreply at git.blender.org
Mon Mar 9 11:03:25 CET 2015


Commit: a1549bc47a2e5c94f3ccf5d618d6a7f86165043a
Author: Campbell Barton
Date:   Mon Mar 9 21:01:43 2015 +1100
Branches: master
https://developer.blender.org/rBa1549bc47a2e5c94f3ccf5d618d6a7f86165043a

Image Space: enable zoom/cursor warping

===================================================================

M	source/blender/editors/space_image/image_ops.c

===================================================================

diff --git a/source/blender/editors/space_image/image_ops.c b/source/blender/editors/space_image/image_ops.c
index 9d81685..61667b0 100644
--- a/source/blender/editors/space_image/image_ops.c
+++ b/source/blender/editors/space_image/image_ops.c
@@ -585,7 +585,7 @@ void IMAGE_OT_view_zoom(wmOperatorType *ot)
 	ot->poll = space_image_main_area_poll;
 
 	/* flags */
-	ot->flag = OPTYPE_BLOCKING | OPTYPE_LOCK_BYPASS;
+	ot->flag = OPTYPE_BLOCKING | OPTYPE_GRAB_POINTER | OPTYPE_LOCK_BYPASS;
 	
 	/* properties */
 	prop = RNA_def_float(ot->srna, "factor", 0.0f, -FLT_MAX, FLT_MAX, "Factor",




More information about the Bf-blender-cvs mailing list