Image Space: enable zoom/cursor warping
This commit is contained in:
@@ -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",
|
||||||
|
Reference in New Issue
Block a user