Merge two Services sections in Services and Systems tab #4001

Two similar sections were needed in the old ui before we added tabs
This commit is contained in:
Andrej730
2023-11-13 14:25:09 +05:00
parent 65859a8f83
commit db7dc86cd1
3 changed files with 3 additions and 19 deletions
@@ -151,7 +151,6 @@ classes = [
ui.BIM_PT_tab_references,
# Services and systems
ui.BIM_PT_tab_services,
ui.BIM_PT_tab_services_object,
ui.BIM_PT_tab_zones,
# Structural analysis
ui.BIM_PT_tab_structural,
@@ -129,7 +129,7 @@ class BIM_PT_ports(Panel):
bl_region_type = "WINDOW"
bl_context = "object"
bl_order = 1
bl_parent_id = "BIM_PT_tab_services_object"
bl_parent_id = "BIM_PT_tab_services"
@classmethod
def poll(cls, context):
@@ -209,7 +209,7 @@ class BIM_PT_port(Panel):
bl_region_type = "WINDOW"
bl_context = "object"
bl_order = 1
bl_parent_id = "BIM_PT_tab_services_object"
bl_parent_id = "BIM_PT_tab_services"
@classmethod
def poll(cls, context):
@@ -284,7 +284,7 @@ class BIM_PT_flow_controls(Panel):
bl_region_type = "WINDOW"
bl_context = "object"
bl_order = 1
bl_parent_id = "BIM_PT_tab_services_object"
bl_parent_id = "BIM_PT_tab_services"
@classmethod
def poll(cls, context):
-15
View File
@@ -750,21 +750,6 @@ class BIM_PT_tab_references(Panel):
pass
class BIM_PT_tab_services_object(Panel):
bl_label = "Services"
bl_space_type = "PROPERTIES"
bl_region_type = "WINDOW"
bl_context = "scene"
bl_order = 1
@classmethod
def poll(cls, context):
return tool.Blender.is_tab(context, "SERVICES") and tool.Ifc.get()
def draw(self, context):
pass
class BIM_PT_tab_misc(Panel):
bl_label = "Misc."
bl_space_type = "PROPERTIES"