From 1548ebf4ff573b98376551eb12f5af75c1106e30 Mon Sep 17 00:00:00 2001 From: Gary Ritchie Date: Thu, 23 Apr 2026 21:39:43 -0400 Subject: [PATCH] Make boundary active --- scripts/phase2_geometry.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/scripts/phase2_geometry.py b/scripts/phase2_geometry.py index 4be5941..c26467f 100644 --- a/scripts/phase2_geometry.py +++ b/scripts/phase2_geometry.py @@ -120,10 +120,13 @@ def create_aligned_boundary_cube(bounds, parent=None, mode=None): if parent: obj.parent = parent - # QoL: wire display and auto-select for immediate modifier edits - obj.display_type = 'WIRE' + # QoL: deselect all, then select only the boundary for immediate modifier edits + bpy.ops.object.select_all(action='DESELECT') + # obj.display_type = 'WIRE' obj.select_set(True) - + # Make it the active object + bpy.context.view_layer.objects.active = obj + return obj if __name__ == "__main__":