]> OCCT Git - occt-copy.git/commitdiff
0026483: Option Run Parallel is not used by the command bopargcheck
authorpkv <pkv@opencascade.com>
Mon, 27 Jul 2015 07:06:15 +0000 (10:06 +0300)
committerabv <abv@opencascade.com>
Wed, 2 Sep 2015 11:38:40 +0000 (14:38 +0300)
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

src/BOPTest/BOPTest_CheckCommands.cxx

index 7c37c401ab4a79a71a1b34e338e5f03fe8f2bf3c..b9580dce07af48794084494f3305d316a728a204 100644 (file)
@@ -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);