mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-10 20:43:39 +08:00
0025938: BRepBuilderAPI_Transform is not thread safe
ModifiedShape() method is made returning shape by value, not by reference.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user