Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-10-08 03:57:42 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-10-08 03:57:42 +0300
commit29e496e768cd850f731521c9bb95e017e09885be (patch)
tree8d2e8b6a86dff9d47fc75ba3a530d789149138d6 /release
parent23791db1456332ee83b16156dc117eaa873a765c (diff)
Cleanup: remove redundant cursor copy, print
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_topbar.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py
index 9d5e2a78631..518979a5ef3 100644
--- a/release/scripts/startup/bl_ui/space_topbar.py
+++ b/release/scripts/startup/bl_ui/space_topbar.py
@@ -662,7 +662,6 @@ class TOPBAR_MT_window(Menu):
# - From the top-bar, the text replaces the file-menu (not so bad but strange).
# - From menu-search it replaces the area that the user may want to screen-shot.
# Setting the context to screen causes the status to show in the global status-bar.
- print(layout.operator_context)
layout.operator_context = 'INVOKE_SCREEN'
layout.operator("screen.screenshot_area")
layout.operator_context = operator_context_default