mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 14:10:34 +05:00
occ - bugfix in identification propagation
This commit is contained in:
parent
fe8c036204
commit
f0b8b4fae9
@ -427,7 +427,7 @@ namespace netgen
|
|||||||
TopoDS_Shape s_from; s_from.TShape(from_mapped);
|
TopoDS_Shape s_from; s_from.TShape(from_mapped);
|
||||||
TopoDS_Shape s_to; s_to.TShape(to_mapped);
|
TopoDS_Shape s_to; s_to.TShape(to_mapped);
|
||||||
|
|
||||||
Transformation<3> trafo_mapped;
|
Transformation<3> trafo_mapped = ident.trafo;
|
||||||
if(trafo)
|
if(trafo)
|
||||||
{
|
{
|
||||||
Transformation<3> trafo_temp;
|
Transformation<3> trafo_temp;
|
||||||
@ -441,7 +441,6 @@ namespace netgen
|
|||||||
OCCIdentification id_new = ident;
|
OCCIdentification id_new = ident;
|
||||||
id_new.to = to_mapped;
|
id_new.to = to_mapped;
|
||||||
id_new.from = from_mapped;
|
id_new.from = from_mapped;
|
||||||
if(trafo)
|
|
||||||
id_new.trafo = trafo_mapped;
|
id_new.trafo = trafo_mapped;
|
||||||
auto id_owner = from == tshape ? from_mapped : to_mapped;
|
auto id_owner = from == tshape ? from_mapped : to_mapped;
|
||||||
OCCGeometry::identifications[id_owner].push_back(id_new);
|
OCCGeometry::identifications[id_owner].push_back(id_new);
|
||||||
|
Loading…
Reference in New Issue
Block a user