1
0
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:
szv
2013-05-24 09:26:45 +04:00
parent 310659466b
commit bd0c22ce9f
13 changed files with 30 additions and 135 deletions

View File

@@ -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;