mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
Added bookmarks TAB
This commit is contained in:
@@ -493,8 +493,9 @@ def get_tab(
|
||||
("SCHEDULING", "Costing and Scheduling", "", "NLA", 6),
|
||||
("FM", "Facility Management", "", "PACKAGE", 7),
|
||||
("QUALITY", "Quality and Coordination", "", "COMMUNITY", 8),
|
||||
("BOOKMARKS", "Bookmarks", "", "SOLO_ON", 9),
|
||||
None,
|
||||
("BLENDER", "Blender Properties", "", "BLENDER", 9),
|
||||
("BLENDER", "Blender Properties", "", "BLENDER", 10),
|
||||
]
|
||||
return get_tab.enum_items
|
||||
|
||||
|
||||
@@ -964,6 +964,7 @@ 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, "SOLO_ON", "BOOKMARKS", True, aprops.tab == "BOOKMARKS") # New BOOKMARKS tab
|
||||
row.operator("bim.switch_tab", text="", emboss=False, icon="UV_SYNC_SELECT")
|
||||
|
||||
# Yes, that's right.
|
||||
@@ -980,6 +981,7 @@ class BIM_PT_tabs(Panel):
|
||||
"SCHEDULING",
|
||||
"FM",
|
||||
"QUALITY",
|
||||
"BOOKMARKS", # Include BOOKMARKS in the list
|
||||
"SWITCH",
|
||||
]:
|
||||
# Draw a little underscore below the active tab icon.
|
||||
|
||||
Reference in New Issue
Block a user