diff --git a/scripts/addons/cam/tests/gcode_generator.py b/scripts/addons/cam/tests/gcode_generator.py index a88805e6..0d882891 100644 --- a/scripts/addons/cam/tests/gcode_generator.py +++ b/scripts/addons/cam/tests/gcode_generator.py @@ -1,4 +1,5 @@ import bpy +import sys # Get the scene s = bpy.context.scene @@ -12,3 +13,5 @@ for i, operation in enumerate(s.cam_operations): # Run the calculate_cam_path() operator bpy.ops.object.calculate_cam_path() +sys.exit(0) +