diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-10-01 13:19:44 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-10-01 13:20:53 +0300 |
commit | ba798e0412cdcb5e6a10464ced105c8d6708c4b7 (patch) | |
tree | 6c2b781f07ead1f06342616187128b689fb7bf0f /release/scripts/startup/bl_ui/space_image.py | |
parent | 3370af2dc1ced49099a4a7e6e15f3ffd009d91ca (diff) |
Image/Clip Space: Add view center to cursor operators
D5932 by @a.monti with edits
Diffstat (limited to 'release/scripts/startup/bl_ui/space_image.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_image.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py index 5e05c49b567..0044475d67d 100644 --- a/release/scripts/startup/bl_ui/space_image.py +++ b/release/scripts/startup/bl_ui/space_image.py @@ -113,6 +113,8 @@ class IMAGE_MT_view(Menu): layout.operator("image.view_all", text="Frame All") layout.operator("image.view_all", text="Frame All Fit").fit_view = True + layout.operator("image.view_center_cursor", text="Center View to Cursor") + layout.separator() if show_render: |