set hpref to 0.0 (fixes random values)

This commit is contained in:
Matthias Hochsteger 2021-03-24 12:04:21 +01:00
parent b431a07c74
commit 5a0d07ca87

View File

@ -2216,6 +2216,8 @@ shared_ptr<netgen::SplineGeometry2d> CSG2d :: GenerateSplineGeometry()
seg->reffak = 1;
seg->copyfrom = -1;
seg->hmax = ls.maxh;
seg->hpref_left = 0.;
seg->hpref_right = 0.;
geo->AppendSegment(seg);
}
t_segments.Stop();