mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +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
|
global classes_enum
|
||||||
file = IfcStore.get_file()
|
file = IfcStore.get_file()
|
||||||
if len(classes_enum) < 1 and 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):
|
def get_classes(declaration):
|
||||||
results = []
|
results = []
|
||||||
|
|||||||
Reference in New Issue
Block a user