mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-27 18:57:17 +00:00
Make refresh Brick viewer refresh both screens
This commit is contained in:
@@ -219,10 +219,10 @@ class RefreshBrickViewer(bpy.types.Operator, Operator):
|
|||||||
bl_label = "Refresh Brick Viewer"
|
bl_label = "Refresh Brick Viewer"
|
||||||
bl_options = {"REGISTER", "UNDO"}
|
bl_options = {"REGISTER", "UNDO"}
|
||||||
bl_description = "Refresh the list view"
|
bl_description = "Refresh the list view"
|
||||||
split_screen: bpy.props.BoolProperty(name="Split Screen", default=False, options={"HIDDEN"})
|
|
||||||
|
|
||||||
def _execute(self, context):
|
def _execute(self, context):
|
||||||
core.refresh_brick_viewer(tool.Brick, split_screen=self.split_screen)
|
core.refresh_brick_viewer(tool.Brick)
|
||||||
|
core.refresh_brick_viewer(tool.Brick, split_screen=True)
|
||||||
|
|
||||||
|
|
||||||
class RemoveBrick(bpy.types.Operator, Operator):
|
class RemoveBrick(bpy.types.Operator, Operator):
|
||||||
|
|||||||
Reference in New Issue
Block a user