diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-05-05 18:22:00 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-05-05 18:22:00 +0200 |
commit | 9a1d6eded2750572e9f5f79e53ec507dd7a06ba5 (patch) | |
tree | 10d84c82031aace7ac819f27116a04e7da238d59 /app/bin/cturnout.c | |
parent | d1a8285f818eb7e5c3d6a05709ea21a808490b8c (diff) |
New upstream version 5.1.1upstream/5.1.1
Diffstat (limited to 'app/bin/cturnout.c')
-rw-r--r-- | app/bin/cturnout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/bin/cturnout.c b/app/bin/cturnout.c index c3125ad..eace782 100644 --- a/app/bin/cturnout.c +++ b/app/bin/cturnout.c @@ -127,8 +127,8 @@ EXPORT turnoutInfo_t * CreateNewTurnout( } to->segCnt = segCnt; to->segs = (trkSeg_p)memdup( segData, (sizeof *segData) * segCnt ); + CopyPoly(to->segs,segCnt); FixUpBezierSegs(to->segs,to->segCnt); - GetSegBounds( zero, 0.0, segCnt, to->segs, &to->orig, &to->size ); to->endCnt = endPtCnt; to->endPt = (trkEndPt_t*)memdup( endPts, (sizeof *endPts) * to->endCnt ); |