[Bf-blender-cvs] [6d152c59971] blender2.8: UI: remove redo popover from topbar

Campbell Barton noreply at git.blender.org
Tue Jun 12 10:52:38 CEST 2018


Commit: 6d152c599712bf4024b29f86a6050daba2919397
Author: Campbell Barton
Date:   Tue Jun 12 10:51:23 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB6d152c599712bf4024b29f86a6050daba2919397

UI: remove redo popover from topbar

See: T55039

===================================================================

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 0171d98af0b..0126fcfc26a 100644
--- a/release/scripts/startup/bl_ui/space_topbar.py
+++ b/release/scripts/startup/bl_ui/space_topbar.py
@@ -262,17 +262,6 @@ class TOPBAR_HT_lower_bar(Header):
 
         layout.prop(scene, "transform_orientation", text="")
 
-        # Command Settings (redo)
-        op = context.active_operator
-        row = layout.row()
-        row.enabled = op is not None
-        row.popover(
-            space_type='TOPBAR',
-            region_type='HEADER',
-            panel_type="TOPBAR_PT_redo",
-            text=op.name + " Settings" if op else "Command Settings",
-        )
-
 
 class _draw_left_context_mode:
     @staticmethod



More information about the Bf-blender-cvs mailing list