Fix #2577. Bug where system editing UI appears multiple times.

This commit is contained in:
Dion Moult
2022-11-08 20:04:51 +11:00
parent 03781bdf9b
commit 1ddae8a6f5
+3 -1
View File
@@ -66,7 +66,9 @@ class System(blenderbim.core.tool.System):
@classmethod
def import_system_attributes(cls, system):
blenderbim.bim.helper.import_attributes2(system, bpy.context.scene.BIMSystemProperties.system_attributes)
props = bpy.context.scene.BIMSystemProperties
props.system_attributes.clear()
blenderbim.bim.helper.import_attributes2(system, props.system_attributes)
@classmethod
def import_systems(cls):