From 467d311e8b6d065364c4a362b1cd0171eb007d8c Mon Sep 17 00:00:00 2001 From: Jean-Francois Remacle <jean-francois.remacle@uclouvain.be> Date: Tue, 29 Oct 2013 14:25:52 +0000 Subject: [PATCH] oops --- Geo/MVertex.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Geo/MVertex.cpp b/Geo/MVertex.cpp index 7e824c649c..78fd070bbb 100644 --- a/Geo/MVertex.cpp +++ b/Geo/MVertex.cpp @@ -375,6 +375,7 @@ static void getAllParameters(MVertex *v, GFace *gf, std::vector<SPoint2> ¶ms for(std::list<GEdge*>::iterator it = ed.begin(); it != ed.end(); it++){ if((*it)->isSeam(gf)) { Range<double> range = (*it)->parBounds(0); + // printf("%d %d %d\n",gv->tag(),(*it)->getBeginVertex()->tag(),(*it)->getEndVertex()->tag()); if (gv == (*it)->getBeginVertex()){ params.push_back((*it)->reparamOnFace(gf, range.low(),-1)); params.push_back((*it)->reparamOnFace(gf, range.low(), 1)); @@ -383,7 +384,7 @@ static void getAllParameters(MVertex *v, GFace *gf, std::vector<SPoint2> ¶ms params.push_back((*it)->reparamOnFace(gf, range.high(),-1)); params.push_back((*it)->reparamOnFace(gf, range.high(), 1)); } - else{ + if (gv != (*it)->getBeginVertex() && gv != (*it)->getEndVertex()){ Msg::Warning("Strange!"); } seam = true; -- GitLab