diff --git a/src/Mod/CAM/Path/Op/SurfaceSupport.py b/src/Mod/CAM/Path/Op/SurfaceSupport.py index 4c8a7a6d24..18169c544b 100644 --- a/src/Mod/CAM/Path/Op/SurfaceSupport.py +++ b/src/Mod/CAM/Path/Op/SurfaceSupport.py @@ -1281,8 +1281,8 @@ def _makeSTL(model, obj, ocl, model_type=None): # Workaround for tessellate bug mesh = MeshPart.meshFromShape( Shape=shape, - LinearDeflection=obj.lin_def, - AngularDeflection=obj.ang_def, + LinearDeflection=lin_def, + AngularDeflection=ang_def, ) vertices = [point.Vector for point in mesh.Points] facet_indices = [facet.PointIndices for facet in mesh.Facets]