mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 04:50:34 +05:00
fix OCC meshing with nglib
This commit is contained in:
parent
2a77e9635a
commit
439415bffe
@ -728,6 +728,7 @@ namespace netgen
|
||||
static Timer t1("Surface Meshing"); RegionTimer regt(t1);
|
||||
const char* savetask = multithread.task;
|
||||
multithread.task = "Mesh Surface";
|
||||
mesh.ClearFaceDescriptors();
|
||||
|
||||
size_t n_failed_faces = 0;
|
||||
Array<int, PointIndex> glob2loc(mesh.GetNP());
|
||||
|
@ -910,11 +910,6 @@ namespace nglib
|
||||
// parameters structure
|
||||
mp->Transfer_Parameters();
|
||||
|
||||
|
||||
// Only go into surface meshing if the face descriptors have already been added
|
||||
if(!me->GetNFD())
|
||||
return NG_ERROR;
|
||||
|
||||
numpoints = me->GetNP();
|
||||
|
||||
// Initially set up only for surface meshing without any optimisation
|
||||
|
Loading…
Reference in New Issue
Block a user