Double space core functions and clear brick browser on project close

This commit is contained in:
Trashman247
2023-07-01 15:46:00 -07:00
parent 8b2fae4369
commit 79e9bef565
+4
View File
@@ -47,6 +47,7 @@ def rewind_brick_class(brick):
def close_brick_project(brick):
brick.clear_project()
brick.clear_brick_browser()
def convert_brick_project(ifc, brick):
@@ -110,13 +111,16 @@ def remove_brick(ifc, brick, library=None, brick_uri=None):
brick.remove_brick(brick_uri)
brick.run_refresh_brick_viewer()
def undo_brick(brick):
brick.undo_brick()
brick.run_refresh_brick_viewer()
def redo_brick(brick):
brick.redo_brick()
brick.run_refresh_brick_viewer()
def serialize_brick(brick):
brick.serialize_brick()