fix export of submesh faces

This commit is contained in:
Christopher Lackner 2024-06-20 11:12:01 +02:00
parent 690eb2093a
commit eff5e946f7

View File

@ -7231,7 +7231,7 @@ namespace netgen
for(auto dom : Range(ndomains)) for(auto dom : Range(ndomains))
{ {
if(regex_match(mesh.GetMaterial(dom), regex_domains)) if(regex_match(mesh.GetMaterial(dom+1), regex_domains))
keep_domain.SetBit(dom); keep_domain.SetBit(dom);
} }