See #5243. types_with_super() is no longer available. Also maybe overkill in this scenario.

This commit is contained in:
Dion Moult
2024-08-29 10:10:55 +10:00
parent 88e5a51f01
commit c3bcc2d90c
@@ -200,10 +200,8 @@ class RefreshLibrary(bpy.types.Operator):
self.props.active_library_element = ""
types = IfcStore.library_file.wrapped_data.types_with_super()
for importable_type in sorted(tool.Project.get_appendable_asset_types()):
if importable_type in types:
if IfcStore.library_file.by_type(importable_type):
new = self.props.library_elements.add()
new.name = importable_type
return {"FINISHED"}