From 827b02d94c22d94679325f8c99282de0d3b789d1 Mon Sep 17 00:00:00 2001 From: Christopher Lackner Date: Mon, 16 Sep 2024 09:59:42 +0200 Subject: [PATCH] propagate properties correctly in occgeom.Glue --- libsrc/occ/occgeom.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/libsrc/occ/occgeom.cpp b/libsrc/occ/occgeom.cpp index c942a50d..f1607bd7 100644 --- a/libsrc/occ/occgeom.cpp +++ b/libsrc/occ/occgeom.cpp @@ -416,16 +416,7 @@ namespace netgen } #endif -#ifdef OCC_HAVE_HISTORY - Handle(BRepTools_History) history = aBuilder.History (); - - for (TopExp_Explorer e(shape, TopAbs_SOLID); e.More(); e.Next()) - { - if (auto name = OCCGeometry::GetProperties(e.Current()).name) - for (auto mods : history->Modified(e.Current())) - OCCGeometry::GetProperties(mods).name = *name; - } -#endif // OCC_HAVE_HISTORY + PropagateProperties(aBuilder, shape); // result of the operation shape = aBuilder.Shape();