Fix .surf file reading.

See https://ngsolve.org/forum/ngspy-forum/1275-bug-surf-file-read-incorrectly
This commit is contained in:
Christopher Lackner 2020-11-27 15:28:48 +01:00
parent e72fb08405
commit 7ae460b2e5

View File

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