1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

0025938: BRepBuilderAPI_Transform is not thread safe

ModifiedShape() method is made returning shape by value, not by reference.
This commit is contained in:
msv
2015-04-10 15:43:21 +03:00
committed by bugmaster
parent 124ee9c962
commit 346cf025a5
8 changed files with 7 additions and 14 deletions

View File

@@ -524,7 +524,7 @@ void TNaming::Replicate (const TopoDS_Shape& SH,
TNaming_Builder Builder2 (L.FindChild(1,Standard_True));
for (TopExp_Explorer exp(SH, SST); exp.More(); exp.Next()) {
const TopoDS_Shape& oldSubShape = exp.Current();
const TopoDS_Shape& newSubShape = opeTrsf.ModifiedShape(oldSubShape);
TopoDS_Shape newSubShape = opeTrsf.ModifiedShape(oldSubShape);
Builder2.Generated(oldSubShape, newSubShape);
}
}