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

@@ -131,7 +131,7 @@ void BRepBuilderAPI_ModifyShape::DoModif (const TopoDS_Shape& S,
//purpose :
//=======================================================================
const TopoDS_Shape& BRepBuilderAPI_ModifyShape::ModifiedShape
TopoDS_Shape BRepBuilderAPI_ModifyShape::ModifiedShape
(const TopoDS_Shape& S) const
{
return myModifier.ModifiedShape(S);