mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +03:00
0033351: Data Exchange, Step - Improvement for thread safety of the STEP translator
Local StepData_Factors object usage for each session Static variables isolated
This commit is contained in:
@@ -18,8 +18,8 @@ Handle(StepGeom_Line) Lin = new StepGeom_Line;
|
||||
Handle(StepGeom_CartesianPoint) aPnt;
|
||||
Handle(StepGeom_Vector) aDir;
|
||||
|
||||
GeomToStep_MakeCartesianPoint MkPoint(L.Location());
|
||||
GeomToStep_MakeVector MkVector(Vec_gen(L.Direction()));
|
||||
GeomToStep_MakeCartesianPoint MkPoint(L.Location(), theLocalFactors.LengthFactor());
|
||||
GeomToStep_MakeVector MkVector(Vec_gen(L.Direction()), theLocalFactors);
|
||||
aPnt = MkPoint.Value();
|
||||
aDir = MkVector.Value();
|
||||
Handle(TCollection_HAsciiString) name = new TCollection_HAsciiString("");
|
||||
|
Reference in New Issue
Block a user