mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-28 11:18:18 +00:00
One line of code was inadvertently missed out in the pull request https://github.com/IfcOpenShell/IfcOpenShell/pull/4784
This commit is contained in:
@@ -596,6 +596,7 @@ class EditMaterialSetItemProfile(bpy.types.Operator, tool.Ifc.Operator):
|
|||||||
attributes = blenderbim.bim.helper.export_attributes(self.props.material_set_item_profile_attributes)
|
attributes = blenderbim.bim.helper.export_attributes(self.props.material_set_item_profile_attributes)
|
||||||
profile = tool.Ifc.get().by_id(self.material_set_item).Profile
|
profile = tool.Ifc.get().by_id(self.material_set_item).Profile
|
||||||
ifcopenshell.api.run("profile.edit_profile", tool.Ifc.get(), profile=profile, attributes=attributes)
|
ifcopenshell.api.run("profile.edit_profile", tool.Ifc.get(), profile=profile, attributes=attributes)
|
||||||
|
self.props.active_material_set_item_id = 0
|
||||||
self.props.material_set_item_profile_attributes.clear()
|
self.props.material_set_item_profile_attributes.clear()
|
||||||
model_profile.DumbProfileRegenerator().regenerate_from_profile_def(profile)
|
model_profile.DumbProfileRegenerator().regenerate_from_profile_def(profile)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user