From 2696f1a50c84ba8528b2a294a6eed5baac62c5ae Mon Sep 17 00:00:00 2001 From: Jean-Francois Remacle <jean-francois.remacle@uclouvain.be> Date: Wed, 12 Oct 2011 18:05:58 +0000 Subject: [PATCH] fixed bug on drawing compound curves --- Graphics/drawGeom.cpp | 2 +- Mesh/meshGFace.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Graphics/drawGeom.cpp b/Graphics/drawGeom.cpp index 3a8625e8a9..8587b4d6f2 100644 --- a/Graphics/drawGeom.cpp +++ b/Graphics/drawGeom.cpp @@ -97,7 +97,7 @@ class drawGEdge { if(e->geomType() == GEntity::DiscreteCurve) return; if(e->geomType() == GEntity::PartitionCurve) return; if(e->geomType() == GEntity::BoundaryLayerCurve) return; - if(e->geomType() == GEntity::CompoundCurve) return; + // if(e->geomType() == GEntity::CompoundCurve) return; bool select = (_ctx->render_mode == drawContext::GMSH_SELECT && e->model() == GModel::current()); diff --git a/Mesh/meshGFace.cpp b/Mesh/meshGFace.cpp index 5aa10ac797..11f2eb3caf 100644 --- a/Mesh/meshGFace.cpp +++ b/Mesh/meshGFace.cpp @@ -1026,7 +1026,7 @@ bool meshGenerator(GFace *gf, int RECUR_ITER, outputScalarField(m->triangles, name, 1); } - if(1){ + if(0){ std::list<BDS_Face*>::iterator itt = m->triangles.begin(); while (itt != m->triangles.end()){ BDS_Face *t = *itt; -- GitLab