You've already forked stocker_helper
Version bump
This commit is contained in:
+4
-4
@@ -6,10 +6,10 @@ from .scripts import phase2_geometry as logic
|
|||||||
bl_info = {
|
bl_info = {
|
||||||
"name": "Stocker Helper",
|
"name": "Stocker Helper",
|
||||||
"author": "Gary Ritchie",
|
"author": "Gary Ritchie",
|
||||||
"version": (0, 1, 0),
|
"version": (0, 3, 1),
|
||||||
"blender": (4, 0, 0),
|
"blender": (4, 0, 0),
|
||||||
"location": "View3D > Sidebar > Stocker",
|
"location": "View3D > Sidebar > Stocker",
|
||||||
"description": "Automates boundary creation for Geometry Nodes packing",
|
"description": "Creates boundary object with Stocker Geometry Nodes assets (sold separately.)",
|
||||||
"category": "Object",
|
"category": "Object",
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -108,8 +108,8 @@ class STOCKER_OT_setup(bpy.types.Operator):
|
|||||||
bounds['size'].z += height_add
|
bounds['size'].z += height_add
|
||||||
bounds['max'].z += height_add
|
bounds['max'].z += height_add
|
||||||
|
|
||||||
# 3. Create the cube
|
# 3. Create the cube (parent to selected instance for tracking)
|
||||||
new_obj = logic.create_aligned_boundary_cube(bounds)
|
new_obj = logic.create_aligned_boundary_cube(bounds, parent=selected_objs[0], mode=self.mode)
|
||||||
if not new_obj:
|
if not new_obj:
|
||||||
self.report({'ERROR'}, "Failed to create boundary cube.")
|
self.report({'ERROR'}, "Failed to create boundary cube.")
|
||||||
return {'CANCELLED'}
|
return {'CANCELLED'}
|
||||||
|
|||||||
Reference in New Issue
Block a user