[Bf-blender-cvs] [67f23cff539] blender2.8: Topbar: clarify command settings name, remove placeholder button.
Brecht Van Lommel
noreply at git.blender.org
Tue Apr 24 11:36:19 CEST 2018
Commit: 67f23cff53922561604920650a2025ba6771f2c1
Author: Brecht Van Lommel
Date: Tue Apr 24 11:11:34 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB67f23cff53922561604920650a2025ba6771f2c1
Topbar: clarify command settings name, remove placeholder button.
===================================================================
M release/scripts/startup/bl_ui/space_topbar.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py
index d4d48735a67..87a4a91b257 100644
--- a/release/scripts/startup/bl_ui/space_topbar.py
+++ b/release/scripts/startup/bl_ui/space_topbar.py
@@ -128,11 +128,7 @@ class TOPBAR_HT_lower_bar(Header):
def draw_right(self, context):
layout = self.layout
- # Placeholder
- layout.operator("ed.undo_history", text="...")
-
- # Last Action (redo)
- layout.label("Last Action:")
+ # Command Settings (redo)
op = context.active_operator
row = layout.row()
row.enabled = op is not None
@@ -140,7 +136,7 @@ class TOPBAR_HT_lower_bar(Header):
space_type='VIEW_3D',
region_type='TOOL_PROPS',
panel_type="VIEW3D_PT_last_operator",
- text=op.name if op else "Last Action...",
+ text=op.name + " Settings" if op else "Command Settings",
)
More information about the Bf-blender-cvs
mailing list