mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 06:58:56 +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):
|
def refreshPredefinedTypes(self, context):
|
||||||
global types_enum
|
global types_enum
|
||||||
types_enum.clear()
|
types_enum.clear()
|
||||||
getIfcPredefinedTypes(self, context)
|
enum = getIfcPredefinedTypes(self, context)
|
||||||
|
context.scene.BIMProperties.ifc_predefined_type = enum[0][0]
|
||||||
|
|
||||||
|
|
||||||
def getDiagramScales(self, context):
|
def getDiagramScales(self, context):
|
||||||
|
|||||||
Reference in New Issue
Block a user