Fix BlenderBIM bug Class assignement for predefined_type attribue

This commit is contained in:
bosonprojets
2021-07-29 00:28:04 +01:00
parent cdf18e9f20
commit c257afbd1c
@@ -100,7 +100,7 @@ class AssignClass(bpy.types.Operator):
self.file = IfcStore.get_file()
self.declaration = IfcStore.get_schema().declaration_by_name(self.ifc_class)
if self.predefined_type == "USERDEFINED":
self.predefined_type = self.ifc_userdefined_type
self.predefined_type = self.userdefined_type
elif self.predefined_type == "":
predefined_type = None
for obj in objects: