diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-06-07 18:13:28 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-06-08 12:15:39 +0300 |
commit | 267c7b098d1312b6a0d71eed877f6d27b182c0b1 (patch) | |
tree | 96c4a35823adf2b45e18c26573ff5c84a7b61785 /source | |
parent | 7c5944137e8bbb7a52b2fa227fc49c62ac5a5edc (diff) |
Fix "View All" operation in image space not available with locked interface
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_image/image_ops.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_image/image_ops.c b/source/blender/editors/space_image/image_ops.c index d9f89bf627a..ca2f19cde91 100644 --- a/source/blender/editors/space_image/image_ops.c +++ b/source/blender/editors/space_image/image_ops.c @@ -720,6 +720,9 @@ void IMAGE_OT_view_all(wmOperatorType *ot) ot->exec = image_view_all_exec; ot->poll = space_image_main_area_poll; + /* flags */ + ot->flag = OPTYPE_LOCK_BYPASS; + /* properties */ prop = RNA_def_boolean(ot->srna, "fit_view", 0, "Fit View", "Fit frame to the viewport"); RNA_def_property_flag(prop, PROP_SKIP_SAVE); |