mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0027349: XtControl_Reader is not thread-safe
Support of profiles for norms is removed Getting rid of thread-unsafe static variables. Sequence is not thread-safe. Replacing it with Vector. Updating samples due to previous changes. Resolving conflict with system environment.
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
#include <VrmlData_ShapeNode.hxx>
|
||||
|
||||
#include <XSControl_WorkSession.hxx>
|
||||
#include <XSControl_TransferReader.hxx>
|
||||
#include <STEPConstruct_Styles.hxx>
|
||||
#include <TColStd_HSequenceOfTransient.hxx>
|
||||
#include <STEPConstruct.hxx>
|
||||
@@ -430,7 +431,7 @@ IFSelect_ReturnStatus CImportExport::ReadSTEP(const Standard_CString& aFileName,
|
||||
if (status != IFSelect_RetDone)
|
||||
return status;
|
||||
|
||||
aReader.WS()->MapReader()->SetTraceLevel(2); // increase default trace level
|
||||
aReader.WS()->TransferReader()->TransientProcess()->SetTraceLevel(2); // increase default trace level
|
||||
|
||||
Standard_Boolean failsonly = Standard_False;
|
||||
aReader.PrintCheckLoad(failsonly, IFSelect_ItemsByEntity);
|
||||
|
Reference in New Issue
Block a user