From 8b38694cfcad387fa504351d4450714fa048f711 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Thu, 7 Nov 2013 21:42:24 +0200 Subject: [PATCH] Break link from the target track too before re-linking --- source/libr2c2/track.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/libr2c2/track.cpp b/source/libr2c2/track.cpp index 23f1b9e..2515986 100644 --- a/source/libr2c2/track.cpp +++ b/source/libr2c2/track.cpp @@ -332,6 +332,7 @@ bool Track::link_to(Object &other) if(dot(span, span)break_link(j); links[i] = otrack; otrack->links[j] = this; check_slope(); -- 2.43.0