From 73f546aab1b803b414632f1d89d740cad8b499c5 Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Sun, 30 Jun 2024 21:46:03 +1000 Subject: [PATCH] Don't attempt to manipulate type visibility when selecting a type. --- src/blenderbim/blenderbim/bim/module/type/operator.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/blenderbim/blenderbim/bim/module/type/operator.py b/src/blenderbim/blenderbim/bim/module/type/operator.py index f3ce40a885..51cd935fac 100644 --- a/src/blenderbim/blenderbim/bim/module/type/operator.py +++ b/src/blenderbim/blenderbim/bim/module/type/operator.py @@ -158,11 +158,6 @@ class SelectType(bpy.types.Operator): selected_objs.append(active_obj) #update selected_objs so the active_obj is at the end of the list last_relating_type_obj = None - types_collection_in_view_layer = self.find_collection_in_ifcproject(context, collection_name = "Types") - types_collection_in_view_layer.hide_viewport = False - types_collection = bpy.data.collections.get("Types") - for type_obj in types_collection.objects: - type_obj.hide_set(True) for obj in selected_objs: element = tool.Ifc.get_entity(obj) relating_type = ifcopenshell.util.element.get_type(element)