TopoNaming: Refine - mark joined faces as modified not generated

This is parity change with LS3: a9810d509a/src/Mod/Part/App/TopoShapeEx.cpp (L3357)
This commit is contained in:
Kacper Donat
2024-11-09 20:27:57 +01:00
committed by Chris Hennes
parent ca56709e62
commit 7e9fa4de99
2 changed files with 2 additions and 2 deletions

View File

@@ -4630,7 +4630,7 @@ public:
if (it.Key().IsNull()) {
continue;
}
mapper.populate(MappingStatus::Generated, it.Key(), it.Value());
mapper.populate(MappingStatus::Modified, it.Key(), it.Value());
}
}
};

View File

@@ -621,7 +621,7 @@ class TestTopologicalNamingProblem(unittest.TestCase):
self.assertEqual(self.countFacesEdgesVertexes(revolution.Shape.ElementReverseMap),
(9, 21, 14))
self.assertEqual( revolution.Shape.ElementReverseMap["Vertex9"][1].count(";"), 3)
self.assertEqual( revolution.Shape.ElementReverseMap["Face9"].count(";"), 16)
self.assertEqual( revolution.Shape.ElementReverseMap["Face9"].count(";"), 14)
# Arrange for an UpToFace mode test
revolution.Type = 3
revolution.UpToFace = (pad, ("Face4"))