From 06b1a2f95f92c212ba722f6e74b60ed52620ff93 Mon Sep 17 00:00:00 2001 From: palain Date: Wed, 21 Aug 2024 14:56:17 -0300 Subject: [PATCH] fixed slices 3D - text index --- scripts/addons/cam/slice.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/addons/cam/slice.py b/scripts/addons/cam/slice.py index 5db0a841..ad1765b2 100644 --- a/scripts/addons/cam/slice.py +++ b/scripts/addons/cam/slice.py @@ -56,6 +56,7 @@ def slicing3d(ob, start, end): # April 2020 Alain Pelletier bpy.ops.object.transform_apply(location=True, rotation=False, scale=False) bpy.ops.object.select_all(action='DESELECT') # deselect everything + return True def sliceObject(ob): # April 2020 Alain Pelletier @@ -104,7 +105,7 @@ def sliceObject(ob): # April 2020 Alain Pelletier scollection.objects.link(obslice) # link obslice to scollecton if slice3d: # slice 3d at desired height and stop at desired height - slicing3d(obslice, height, height + thickness) + slicesuccess = slicing3d(obslice, height, height + thickness) else: # slice object at desired height slicesuccess = slicing2d(obslice, height)