TopoShape/Part: Bug fixes; pass Hasher parms, OCCT 7.8 compatibility, ElementMaps correct item count

This commit is contained in:
bgbsww
2024-04-13 18:26:36 -04:00
parent 2eb4689996
commit a88e7baff5
13 changed files with 57 additions and 24 deletions

View File

@@ -299,7 +299,7 @@ void SketchObject::buildShape()
Shape.setValue(Part::TopoShape());
return;
}
Part::TopoShape result(0);
Part::TopoShape result(0, getDocument()->getStringHasher());
if (vertices.empty()) {
// Notice here we supply op code Part::OpCodes::Sketch to makEWires().
result.makeElementWires(shapes,Part::OpCodes::Sketch);