From 9699eb38c54e8c36027280c6a6d123d705947b25 Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Wed, 5 Jun 2024 15:00:28 +1000 Subject: [PATCH] Only show Blender tab icon in dropdown, separated. This helps for smaller screens and makes it less overwhelming for users. --- src/blenderbim/blenderbim/bim/prop.py | 1 + src/blenderbim/blenderbim/bim/ui.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blenderbim/blenderbim/bim/prop.py b/src/blenderbim/blenderbim/bim/prop.py index 4be21a8ad7..386db3b82c 100644 --- a/src/blenderbim/blenderbim/bim/prop.py +++ b/src/blenderbim/blenderbim/bim/prop.py @@ -328,6 +328,7 @@ def get_tab(self, context): ("SCHEDULING", "Costing and Scheduling", "", "NLA", 6), ("FM", "Facility Management", "", "PACKAGE", 7), ("QUALITY", "Quality and Coordination", "", "COMMUNITY", 8), + None, ("BLENDER", "Blender Properties", "", "BLENDER", 9), ] diff --git a/src/blenderbim/blenderbim/bim/ui.py b/src/blenderbim/blenderbim/bim/ui.py index eb6a0709d2..9c58d3db70 100644 --- a/src/blenderbim/blenderbim/bim/ui.py +++ b/src/blenderbim/blenderbim/bim/ui.py @@ -376,7 +376,6 @@ class BIM_PT_tabs(Panel): self.draw_tab_entry(row, "NLA", "SCHEDULING", is_ifc_project, aprops.tab == "SCHEDULING") self.draw_tab_entry(row, "PACKAGE", "FM", True, aprops.tab == "FM") self.draw_tab_entry(row, "COMMUNITY", "QUALITY", True, aprops.tab == "QUALITY") - self.draw_tab_entry(row, "BLENDER", "BLENDER", True, aprops.tab == "BLENDER") row.operator("bim.switch_tab", text="", emboss=False, icon="UV_SYNC_SELECT") # Yes, that's right.