From 28d4b219fa4332d116c94627aa77b251a5264cc2 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Thu, 20 Aug 2020 15:07:43 +0200 Subject: [PATCH] bugfix in csg2d --- libsrc/geom2d/csg2d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/geom2d/csg2d.cpp b/libsrc/geom2d/csg2d.cpp index 96bf07c5..e75710d3 100644 --- a/libsrc/geom2d/csg2d.cpp +++ b/libsrc/geom2d/csg2d.cpp @@ -719,7 +719,7 @@ RelativePositionType oracle(bool prev, Vertex* P1, Vertex* P2, Vertex* P3) { Q = P2->neighbour->next; q = *Q; - if(P2->spline) + if(P2->neighbour->spline) q = P2->neighbour->spline->TangentPoint(); }