mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-11 21:50:34 +05:00
Fix disabling curving of edges
This commit is contained in:
parent
46461fd166
commit
888ffeaa05
@ -1090,20 +1090,20 @@ void BoundaryLayerTool ::AddSegments()
|
||||
if (mapto[seg[0]].Size() || mapto[seg[1]].Size())
|
||||
{
|
||||
seg.epgeominfo[0].edgenr = -1;
|
||||
seg.epgeominfo[0].edgenr = -1;
|
||||
seg.epgeominfo[1].edgenr = -1;
|
||||
}
|
||||
|
||||
for (auto& seg : segments)
|
||||
if (is_edge_moved[seg.si])
|
||||
if (is_edge_moved[seg.edgenr])
|
||||
{
|
||||
seg.epgeominfo[0].edgenr = -1;
|
||||
seg.epgeominfo[0].edgenr = -1;
|
||||
seg.epgeominfo[1].edgenr = -1;
|
||||
}
|
||||
|
||||
for (auto& seg : new_segs)
|
||||
{
|
||||
seg.epgeominfo[0].edgenr = -1;
|
||||
seg.epgeominfo[0].edgenr = -1;
|
||||
seg.epgeominfo[1].edgenr = -1;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user