mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
Revert a428169 to avoid constant reload of cached data
The code was recalculating type_elements and relating_type_id every time Blender trying to check enum items. Couldn't replicate issue when type duplicated, perhaps it's resolved some other way already.
This commit is contained in:
@@ -46,9 +46,6 @@ def get_boundary_class(self, context):
|
||||
def get_relating_type_id(self, context):
|
||||
if not AuthoringData.is_loaded:
|
||||
AuthoringData.load()
|
||||
else:
|
||||
AuthoringData.data["type_elements"] = AuthoringData.type_elements()
|
||||
AuthoringData.data["relating_type_id"] = AuthoringData.relating_type_id()
|
||||
return AuthoringData.data["relating_type_id"]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user