mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-06 07:51:47 +00:00
Fix bug where BIMTester audit classes dropdown wouldn't show.
This commit is contained in:
@@ -72,7 +72,7 @@ def getIfcClasses(self, context):
|
||||
global classes_enum
|
||||
file = IfcStore.get_file()
|
||||
if len(classes_enum) < 1 and file:
|
||||
declaration = IfcStore.get_schema().declaration_by_name(self.ifc_product)
|
||||
declaration = IfcStore.get_schema().declaration_by_name(context.scene.BIMRootProperties.ifc_product)
|
||||
|
||||
def get_classes(declaration):
|
||||
results = []
|
||||
|
||||
Reference in New Issue
Block a user