forked from bartvdbraak/blender
Fix "View All" operation in image space not available with locked interface
This commit is contained in:
parent
7c5944137e
commit
267c7b098d
@ -720,6 +720,9 @@ void IMAGE_OT_view_all(wmOperatorType *ot)
|
|||||||
ot->exec = image_view_all_exec;
|
ot->exec = image_view_all_exec;
|
||||||
ot->poll = space_image_main_area_poll;
|
ot->poll = space_image_main_area_poll;
|
||||||
|
|
||||||
|
/* flags */
|
||||||
|
ot->flag = OPTYPE_LOCK_BYPASS;
|
||||||
|
|
||||||
/* properties */
|
/* properties */
|
||||||
prop = RNA_def_boolean(ot->srna, "fit_view", 0, "Fit View", "Fit frame to the viewport");
|
prop = RNA_def_boolean(ot->srna, "fit_view", 0, "Fit View", "Fit frame to the viewport");
|
||||||
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
|
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
|
||||||
|
Loading…
Reference in New Issue
Block a user