diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-11-01 01:19:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-11-01 01:19:52 +0300 |
commit | 24cd951f422338040473552dbad4ced16756e762 (patch) | |
tree | 74d17380a9b67c7c8541a05fc2b0951b94b8c724 /source/blender/editors/space_node/node_edit.c | |
parent | 3367ef8b6591b62b1b76f07fccb310485f6d45c7 (diff) |
bugfix [#24470] Ctrl+Tweak cutting connections fail
Diffstat (limited to 'source/blender/editors/space_node/node_edit.c')
-rw-r--r-- | source/blender/editors/space_node/node_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/node_edit.c b/source/blender/editors/space_node/node_edit.c index c9f51078cec..28de4c232e9 100644 --- a/source/blender/editors/space_node/node_edit.c +++ b/source/blender/editors/space_node/node_edit.c @@ -1785,7 +1785,7 @@ static int cut_links_intersect(bNodeLink *link, float mcoords[][2], int tot) if(node_link_bezier_points(NULL, NULL, link, coord_array, LINK_RESOL)) { for(i=0; i<tot-1; i++) - for(b=0; b<LINK_RESOL-1; b++) + for(b=0; b<LINK_RESOL; b++) if(isect_line_line_v2(mcoords[i], mcoords[i+1], coord_array[b], coord_array[b+1]) > 0) return 1; } |