use more descriptive variable names
This commit is contained in:
parent
a15c73a169
commit
4730d981fe
1 changed files with 3 additions and 3 deletions
|
@ -57,10 +57,10 @@ def get_curve_length(curve_obj, resolution = -1):
|
|||
return total_length
|
||||
|
||||
def get_curve_line_lengths(curve_obj, resolution = -1):
|
||||
output = []
|
||||
lengths = []
|
||||
for spline in curve_obj.data.splines:
|
||||
output.append(spline.calc_length(resolution=resolution))
|
||||
return output
|
||||
lengths.append(spline.calc_length(resolution=resolution))
|
||||
return lengths
|
||||
|
||||
def get_next_line_advance(curve_obj, current_advance, previous_glyph_advance, resolution = -1):
|
||||
curve_line_lengths = get_curve_line_lengths(curve_obj, resolution)
|
||||
|
|
Loading…
Reference in a new issue