mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 06:58:56 +00:00
Minor fix.
This commit is contained in:
@@ -205,6 +205,7 @@ class AddProfile(bpy.types.Operator):
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
Data.load_profiles()
|
Data.load_profiles()
|
||||||
|
ProfileData.load(self.file)
|
||||||
return {"FINISHED"}
|
return {"FINISHED"}
|
||||||
|
|
||||||
|
|
||||||
@@ -223,6 +224,7 @@ class RemoveProfile(bpy.types.Operator):
|
|||||||
self.file = IfcStore.get_file()
|
self.file = IfcStore.get_file()
|
||||||
ifcopenshell.api.run("material.remove_profile", self.file, **{"profile": self.file.by_id(self.profile)})
|
ifcopenshell.api.run("material.remove_profile", self.file, **{"profile": self.file.by_id(self.profile)})
|
||||||
Data.load_profiles()
|
Data.load_profiles()
|
||||||
|
ProfileData.load(self.file)
|
||||||
return {"FINISHED"}
|
return {"FINISHED"}
|
||||||
|
|
||||||
|
|
||||||
@@ -282,6 +284,7 @@ class ReorderMaterialSetItem(bpy.types.Operator):
|
|||||||
Data.load_layers()
|
Data.load_layers()
|
||||||
elif material_set.is_a("IfcMaterialProfileSet"):
|
elif material_set.is_a("IfcMaterialProfileSet"):
|
||||||
Data.load_profiles()
|
Data.load_profiles()
|
||||||
|
ProfileData.load(self.file)
|
||||||
elif material_set.is_a("IfcMaterialList"):
|
elif material_set.is_a("IfcMaterialList"):
|
||||||
Data.load_lists()
|
Data.load_lists()
|
||||||
return {"FINISHED"}
|
return {"FINISHED"}
|
||||||
|
|||||||
Reference in New Issue
Block a user