Commit 00476698 by Christophe Geuzaine

restore setCurrentMeshEntity(ge)

parent 697ec133
Pipeline #288 failed with stage
in 2 minutes 21 seconds
3.0.4: bug fixes.
3.0.4: moved vorometal code to plugin; openmp improvements; bug fixes.
3.0.3 (June 27, 2017): new element quality measures; Block->Box; minor fixes.
......
......@@ -505,6 +505,8 @@ static void addBoundaryLayerPoints(GEdge *ge, double &t_begin, double &t_end,
void meshGEdge::operator() (GEdge *ge)
{
gf->model()->setCurrentMeshEntity(ge);
// if(ge->geomType() == GEntity::DiscreteCurve) return;
if(ge->geomType() == GEntity::BoundaryLayerCurve) return;
if(ge->meshAttributes.method == MESH_NONE) return;
......@@ -707,7 +709,7 @@ void meshGEdge::operator() (GEdge *ge)
// vv.insert(vv.end(), _addEnd.rend(), _addEnd.rbegin());
mesh_vertices = vv;
}
if (CTX::instance()->mesh.algo2d != ALGO_2D_BAMG)
if (_addBegin.empty() && _addEnd.empty())
filterPoints(ge, filterMinimumN - 2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment