Merge branch 'fix_surf_read' into 'master'

Fix .surf file reading.

See merge request jschoeberl/netgen!354
This commit is contained in:
Joachim Schöberl 2020-11-30 18:41:56 +00:00
commit cc85def275

View File

@ -42,12 +42,11 @@ namespace netgen
{ {
Point3d p; Point3d p;
in >> p.X() >> p.Y() >> p.Z(); in >> p.X() >> p.Y() >> p.Z();
p.Z() *= 10;
mesh.AddPoint (p); mesh.AddPoint (p);
} }
mesh.ClearFaceDescriptors(); mesh.ClearFaceDescriptors();
mesh.AddFaceDescriptor (FaceDescriptor(0,1,0,0)); mesh.AddFaceDescriptor (FaceDescriptor(1,1,0,0));
in >> nbe; in >> nbe;
// int invert = globflags.GetDefineFlag ("invertsurfacemesh"); // int invert = globflags.GetDefineFlag ("invertsurfacemesh");