mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 10:33:20 +00:00
Immediately redraw the Library panel on load
This improves interface responsiveness. Previously you would have to hover your mouse over the panel After import to see the contents of the library visually update.
This commit is contained in:
@@ -157,6 +157,7 @@ class SelectLibraryFile(bpy.types.Operator):
|
||||
IfcStore.library_path = self.filepath
|
||||
IfcStore.library_file = ifcopenshell.open(self.filepath)
|
||||
bpy.ops.bim.refresh_library()
|
||||
context.area.tag_redraw()
|
||||
return {"FINISHED"}
|
||||
|
||||
def invoke(self, context, event):
|
||||
|
||||
Reference in New Issue
Block a user