mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 02:47:48 +00:00
See #5243. types_with_super() is no longer available. Also maybe overkill in this scenario.
This commit is contained in:
@@ -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"}
|
||||
|
||||
Reference in New Issue
Block a user