fix copy paste error

This commit is contained in:
Christopher Lackner 2021-10-20 09:26:15 +02:00
parent 458ade64e6
commit e662449b69

View File

@ -1590,8 +1590,8 @@ namespace netgen
occgeo->snames[occgeo->somap.FindIndex(solid)-1] = name;
}
occgeo->fnames.SetSize(fmap.Size());
occgeo->enames.SetSize(emap.Size());
occgeo->fnames.SetSize(occgeo->fmap.Size());
occgeo->enames.SetSize(occgeo->emap.Size());
for (exp0.Init(occgeo->shape, TopAbs_FACE); exp0.More(); exp0.Next())
{
TopoDS_Face face = TopoDS::Face(exp0.Current());