diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-11-12 23:25:36 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-11-12 23:48:05 +0300 |
commit | a7ac59414b8a9fee2fd7a9b8c39099f89239771d (patch) | |
tree | 70289cd6d50009e6930962d48c55777a87951276 /source/blender/editors/space_node/node_relationships.c | |
parent | 930771d0cf6bf296b42849b675a1e0c52d04c003 (diff) |
Cleanup: rename line to segments, avoids confusion
Differentiate between lines and segments.
Diffstat (limited to 'source/blender/editors/space_node/node_relationships.c')
-rw-r--r-- | source/blender/editors/space_node/node_relationships.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/node_relationships.c b/source/blender/editors/space_node/node_relationships.c index 3bd72370f5f..8a808b2ae9d 100644 --- a/source/blender/editors/space_node/node_relationships.c +++ b/source/blender/editors/space_node/node_relationships.c @@ -858,7 +858,7 @@ static bool cut_links_intersect(bNodeLink *link, float mcoords[][2], int tot) for (i = 0; i < tot - 1; i++) for (b = 0; b < NODE_LINK_RESOL; b++) - if (isect_line_line_v2(mcoords[i], mcoords[i + 1], coord_array[b], coord_array[b + 1]) > 0) + if (isect_seg_seg_v2(mcoords[i], mcoords[i + 1], coord_array[b], coord_array[b + 1]) > 0) return 1; } return 0; |