diff --git a/src/blenderbim/blenderbim/bim/__init__.py b/src/blenderbim/blenderbim/bim/__init__.py index cfcd70e376..3d8bf6b965 100644 --- a/src/blenderbim/blenderbim/bim/__init__.py +++ b/src/blenderbim/blenderbim/bim/__init__.py @@ -152,6 +152,7 @@ classes = [ ui.BIM_PT_tab_operations, # Quality and coordination ui.BIM_PT_tab_quality_control, + ui.BIM_PT_tab_clash_detection, ui.BIM_PT_tab_collaboration, ui.BIM_PT_tab_sandbox, # TODO: move this somewhere else and clean it up diff --git a/src/blenderbim/blenderbim/bim/module/clash/ui.py b/src/blenderbim/blenderbim/bim/module/clash/ui.py index 26c32321c4..4e846ae78f 100644 --- a/src/blenderbim/blenderbim/bim/module/clash/ui.py +++ b/src/blenderbim/blenderbim/bim/module/clash/ui.py @@ -27,7 +27,7 @@ class BIM_PT_ifcclash(Panel): bl_space_type = "PROPERTIES" bl_region_type = "WINDOW" bl_context = "scene" - bl_parent_id = "BIM_PT_tab_quality_control" + bl_parent_id = "BIM_PT_tab_clash_detection" def draw(self, context): layout = self.layout @@ -102,9 +102,10 @@ class BIM_PT_clash_manager(Panel): bl_idname = "BIM_PT_clash_manager" bl_label = "Clash Manager" bl_options = {"DEFAULT_CLOSED"} - bl_space_type = "VIEW_3D" - bl_region_type = "UI" - bl_category = "BlenderBIM" + bl_space_type = "PROPERTIES" + bl_region_type = "WINDOW" + bl_context = "scene" + bl_parent_id = "BIM_PT_tab_clash_detection" def draw(self, context): layout = self.layout diff --git a/src/blenderbim/blenderbim/bim/ui.py b/src/blenderbim/blenderbim/bim/ui.py index 93ecc15ddb..03c8514ee1 100644 --- a/src/blenderbim/blenderbim/bim/ui.py +++ b/src/blenderbim/blenderbim/bim/ui.py @@ -464,6 +464,18 @@ class BIM_PT_tab_quality_control(Panel): def draw(self, context): pass +class BIM_PT_tab_clash_detection(Panel): + bl_label = "Clash Detection" + bl_space_type = "PROPERTIES" + bl_region_type = "WINDOW" + bl_context = "scene" + + @classmethod + def poll(cls, context): + return tool.Blender.is_tab(context, "QUALITY") + + def draw(self, context): + pass class BIM_PT_tab_sandbox(Panel): bl_label = "Sandbox"