Skip to content

Commit

Permalink
Merge pull request pppalain#180 from abosafia/master
Browse files Browse the repository at this point in the history
increase bezeir resolution before operations
  • Loading branch information
pppalain authored Sep 15, 2024
2 parents bf1fd65 + 34b87c7 commit 63a895e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/addons/cam/curvecamtools.py
Original file line number Diff line number Diff line change
Expand Up @@ -612,10 +612,10 @@ def execute(self, context):
if self.keep_bezier:
bpy.ops.curvetools.operatorsplinesremoveshort()
bpy.context.view_layer.objects.active = ob
ob.data.resolution_u = 64
if bpy.context.mode == 'OBJECT':
bpy.ops.object.editmode_toggle()
bpy.ops.curve.select_all()
bpy.ops.curve.spline_type_set(type='BEZIER')
bpy.ops.curve.remove_double(distance=self.merg_distance)
bpy.ops.object.editmode_toggle()
else:
Expand Down

0 comments on commit 63a895e

Please sign in to comment.