Image Space: enable zoom/cursor warping

This commit is contained in:
Campbell Barton
2015-03-09 21:01:43 +11:00
parent 40ef25d000
commit a1549bc47a

View File

@@ -585,7 +585,7 @@ void IMAGE_OT_view_zoom(wmOperatorType *ot)
ot->poll = space_image_main_area_poll; ot->poll = space_image_main_area_poll;
/* flags */ /* flags */
ot->flag = OPTYPE_BLOCKING | OPTYPE_LOCK_BYPASS; ot->flag = OPTYPE_BLOCKING | OPTYPE_GRAB_POINTER | OPTYPE_LOCK_BYPASS;
/* properties */ /* properties */
prop = RNA_def_float(ot->srna, "factor", 0.0f, -FLT_MAX, FLT_MAX, "Factor", prop = RNA_def_float(ot->srna, "factor", 0.0f, -FLT_MAX, FLT_MAX, "Factor",