From c59b422f2ccbb1d33daad6ea45ac85a8b8137274 Mon Sep 17 00:00:00 2001 From: bgbsww Date: Tue, 20 Aug 2024 09:50:51 -0400 Subject: [PATCH] Toponaming fix #15969 following LS3 code change --- src/Mod/Part/App/TopoShapeMapper.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Mod/Part/App/TopoShapeMapper.cpp b/src/Mod/Part/App/TopoShapeMapper.cpp index 7e0a4cdb15..b9b2ae4950 100644 --- a/src/Mod/Part/App/TopoShapeMapper.cpp +++ b/src/Mod/Part/App/TopoShapeMapper.cpp @@ -71,6 +71,9 @@ void ShapeMapper::populate(MappingStatus status, expand(it.Value(), dstShapes); } insert(status, src.getShape(), dstShapes); + if (shapeSet.insert(src.getShape()).second) { + shapes.push_back(src); + } } void ShapeMapper::insert(MappingStatus status, const TopoDS_Shape& s, const TopoDS_Shape& d)