mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0023988: Force use of reentrant mode
Reentrant mode switch is eliminated
This commit is contained in:
@@ -98,10 +98,8 @@ static Standard_Integer writestl
|
||||
Standard_Boolean isInParallel = Standard_False;
|
||||
if (argc > 3) {
|
||||
isASCIIMode = (Draw::Atoi(argv[3]) == 0);
|
||||
if (argc > 4) {
|
||||
if (argc > 4)
|
||||
isInParallel = (Draw::Atoi(argv[4]) == 1);
|
||||
Standard::SetReentrant(isInParallel);
|
||||
}
|
||||
}
|
||||
StlAPI_Writer aWriter;
|
||||
aWriter.ASCIIMode() = isASCIIMode;
|
||||
|
Reference in New Issue
Block a user