diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-09-17 05:09:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-09-17 05:57:28 +0300 |
commit | 180bafe22537e89422591c92e7d2495a3ae30ea6 (patch) | |
tree | caab8f8a77eb618cd9922fb92a658942cd597087 /release | |
parent | da2ba402689d7ed752b0b37ad49dce1a5851cc77 (diff) |
UI: split screenshot area into a separate operator
While the screenshot operator showed an "Area" option,
it wasn't usable from the main menu (unless accessed via menu search).
Split screenshot area into an operator that depends on cursor.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_topbar.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py index b409e9079be..1d75ad8ff0a 100644 --- a/release/scripts/startup/bl_ui/space_topbar.py +++ b/release/scripts/startup/bl_ui/space_topbar.py @@ -655,6 +655,7 @@ class TOPBAR_MT_window(Menu): layout.separator() layout.operator("screen.screenshot") + layout.operator("screen.screenshot_area") if sys.platform[:3] == "win": layout.separator() |