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 ca35d75b0d
commit 6ce8ad70d6
+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):