From f0b8b4fae9d4f19288fa5484907c1b62b0f5050f Mon Sep 17 00:00:00 2001 From: "mhochsteger@cerbsim.com" Date: Mon, 20 Dec 2021 21:45:36 +0100 Subject: [PATCH] occ - bugfix in identification propagation --- libsrc/occ/occgeom.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libsrc/occ/occgeom.hpp b/libsrc/occ/occgeom.hpp index ef46d86d..372bcc06 100644 --- a/libsrc/occ/occgeom.hpp +++ b/libsrc/occ/occgeom.hpp @@ -427,7 +427,7 @@ namespace netgen TopoDS_Shape s_from; s_from.TShape(from_mapped); TopoDS_Shape s_to; s_to.TShape(to_mapped); - Transformation<3> trafo_mapped; + Transformation<3> trafo_mapped = ident.trafo; if(trafo) { Transformation<3> trafo_temp; @@ -441,8 +441,7 @@ namespace netgen OCCIdentification id_new = ident; id_new.to = to_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; OCCGeometry::identifications[id_owner].push_back(id_new); }