summaryrefslogtreecommitdiff
path: root/lib/stitches/PointTransfer.py
diff options
context:
space:
mode:
authorAndreas <v.andreas.1@web.de>2021-11-19 19:32:29 +0100
committerKaalleen <reni@allenka.de>2022-05-04 18:59:11 +0200
commite15bce1401af8b80a72aa528714e5667edbd9429 (patch)
tree4a7f24f657e8f5a00580e44bb8c74f4b0b60d16d /lib/stitches/PointTransfer.py
parent3caaae693893354ff10472044116e623e219e633 (diff)
minor changes
Diffstat (limited to 'lib/stitches/PointTransfer.py')
-rw-r--r--lib/stitches/PointTransfer.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/stitches/PointTransfer.py b/lib/stitches/PointTransfer.py
index b4c6c004..da73aea0 100644
--- a/lib/stitches/PointTransfer.py
+++ b/lib/stitches/PointTransfer.py
@@ -409,6 +409,9 @@ def transfer_points_to_surrounding_graph(fill_stitch_graph, current_edge, used_o
prev_spacing = math.sqrt(normalized_vector_prev_x*normalized_vector_prev_x +
normalized_vector_prev_y*normalized_vector_prev_y)
+ # if prev_spacing == 0:
+ # print("HIER FEHLER")
+
normalized_vector_prev_x /= prev_spacing
normalized_vector_prev_y /= prev_spacing