fix occ identifications

This commit is contained in:
Matthias Hochsteger 2022-03-24 16:54:40 +01:00
parent 08f2835d8a
commit dcda14e6e7

View File

@ -283,8 +283,7 @@ namespace netgen
changed = false; changed = false;
for(auto &s : shapes) for(auto &s : shapes)
{ {
auto current = s->primary; for(auto & ident : s->identifications)
for(auto & ident : current->identifications)
{ {
bool need_inverse = ident.from == s.get(); bool need_inverse = ident.from == s.get();
auto other = need_inverse ? ident.to : ident.from; auto other = need_inverse ? ident.to : ident.from;