You've already forked stocker_helper
Make boundary active
This commit is contained in:
@@ -120,9 +120,12 @@ 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user