mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
Minor fix where enum position would get lost when refreshed
This commit is contained in:
@@ -73,7 +73,8 @@ def refreshClasses(self, context):
|
||||
def refreshPredefinedTypes(self, context):
|
||||
global types_enum
|
||||
types_enum.clear()
|
||||
getIfcPredefinedTypes(self, context)
|
||||
enum = getIfcPredefinedTypes(self, context)
|
||||
context.scene.BIMProperties.ifc_predefined_type = enum[0][0]
|
||||
|
||||
|
||||
def getDiagramScales(self, context):
|
||||
|
||||
Reference in New Issue
Block a user