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:
committed by
Chris Hennes
parent
ca56709e62
commit
7e9fa4de99
@@ -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());
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user