From a811e9020622e8153ff07a439b5c31a61d6a67b2 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Fri, 7 Mar 2014 13:14:28 +0000 Subject: [PATCH] patch from wendy --- Geo/Geo.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Geo/Geo.cpp b/Geo/Geo.cpp index 1a766e79bd..053d487718 100644 --- a/Geo/Geo.cpp +++ b/Geo/Geo.cpp @@ -3963,8 +3963,9 @@ void setSurfaceEmbeddedCurves(Surface *s, List_T *curves) int inters = intersection_segments(p3, p4, q3, q4, x); if (inters && x[0] != 0. && x[1] != 0. && x[0] != 1. && x[1] != 1.){ - SPoint3 p = SPoint3( (1.-x[0])*p3.x() + x[0]*p4.x() , - (1.-x[0])*p3.y() + x[0]*p4.y() , 0); + SPoint3 p = SPoint3( (1.-x[0])*p3.x() + x[0]*p4.x(), + (1.-x[0])*p3.y() + x[0]*p4.y(), + (1.-x[0])*p3.z() + x[0]*p4.z()); // case to treat bool createPoint = false, mergePoint = false; bool splitcToAddInSurf = false, splitcDejaInSurf = false; -- GitLab