mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-18 07:57:31 +08: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:
@@ -134,11 +134,10 @@ IFSelect_ReturnStatus STEPControl_Writer::Transfer
|
||||
default : break;
|
||||
}
|
||||
if (mws < 0) return IFSelect_RetError; // cas non reconnu
|
||||
thesession->SetModeWriteShape (mws);
|
||||
thesession->TransferWriter()->SetTransferMode (mws);
|
||||
|
||||
// for progress indicator.
|
||||
Handle(Message_ProgressIndicator) progress =
|
||||
WS()->TransferWriter()->FinderProcess()->GetProgress();
|
||||
Handle(Message_ProgressIndicator) progress = WS()->TransferWriter()->FinderProcess()->GetProgress();
|
||||
if ( ! progress.IsNull() ) {
|
||||
Standard_Integer nbfaces=0;
|
||||
for( TopExp_Explorer exp(sh, TopAbs_FACE); exp.More(); exp.Next()) nbfaces++;
|
||||
|
||||
Reference in New Issue
Block a user