Public Access
2
0

Fix: Issue with boundary alignment and size

This commit is contained in:
2026-05-25 16:58:09 -04:00
parent cc04a8ee48
commit 660a5c700e
2 changed files with 28 additions and 20 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ from .scripts import phase2_geometry as logic
bl_info = {
"name": "Stocker Helper",
"author": "Gary Ritchie",
"version": (0, 4, 0),
"version": (0, 5, 0),
"blender": (4, 0, 0),
"location": "View3D > Sidebar > Stocker",
"description": "Creates boundary object with Stocker Geometry Nodes assets (sold separately.)",
@@ -97,7 +97,7 @@ class STOCKER_OT_setup(bpy.types.Operator):
selected_objs = context.selected_objects
# 2. Run logic from previous phases
bounds = logic.calculate_global_bounds(selected_objs)
bounds = logic.calculate_global_bounds(selected_objs, parent=selected_objs[0])
if not bounds:
self.report({'ERROR'}, "No valid mesh objects selected.")
return {'CANCELLED'}