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;
for(auto &s : shapes)
{
auto current = s->primary;
for(auto & ident : current->identifications)
for(auto & ident : s->identifications)
{
bool need_inverse = ident.from == s.get();
auto other = need_inverse ? ident.to : ident.from;