Revert "Hiding all objects in the "Types" Collection "

This reverts commit 2c0ea75960.
This commit is contained in:
Dion Moult
2022-09-09 10:59:10 +10:00
parent 48f8c0e085
commit e4c1f7518d
@@ -371,9 +371,7 @@ class AppendLibraryElement(bpy.types.Operator):
for collection in bpy.context.view_layer.layer_collection.children:
if "IfcProject/" in collection.name:
collection.collection.children.link(type_collection)
collection.children["Types"].hide_viewport = False
for obj in bpy.data.collections.get("Types").objects:
obj.hide_set(True)
collection.children["Types"].hide_viewport = True
break
ifc_importer = import_ifc.IfcImporter(ifc_import_settings)