From: pkv Date: Mon, 27 Jul 2015 07:06:15 +0000 (+0300) Subject: 0026483: Option Run Parallel is not used by the command bopargcheck X-Git-Tag: V6_9_1_beta~39 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=1ecda52ad7f5524b9010c89c05f942e86830fd2d;p=occt-copy.git 0026483: Option Run Parallel is not used by the command bopargcheck I. New features: No new features II. Changes: II.1 class BOPTest -static function: Standard_Integer bopargcheck (Draw_Interpretor& di, Standard_Integer n, const char** a ) The option has been retrieved and passed to the checker algorithm. III. Modified entities: packages: BOPTest --- diff --git a/src/BOPTest/BOPTest_CheckCommands.cxx b/src/BOPTest/BOPTest_CheckCommands.cxx index 7c37c401ab..b9580dce07 100644 --- a/src/BOPTest/BOPTest_CheckCommands.cxx +++ b/src/BOPTest/BOPTest_CheckCommands.cxx @@ -388,7 +388,9 @@ Standard_Integer bopargcheck (Draw_Interpretor& di, Standard_Boolean isS2 = Standard_False; Standard_Integer indxS2 = 0; Standard_Real aTolerance = 0; - + Standard_Boolean bRunParallel; + // + bRunParallel=BOPTest_Objects::RunParallel(); aTolerance=BOPTest_Objects::FuzzyValue(); if(n >= 3) { @@ -433,6 +435,7 @@ Standard_Integer bopargcheck (Draw_Interpretor& di, // init checker BOPAlgo_ArgumentAnalyzer aChecker; + aChecker.SetRunParallel(bRunParallel); aChecker.SetFuzzyValue(aTolerance); aChecker.SetShape1(aS1);