]> OCCT Git - occt.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)
committerbugmaster <bugmaster@opencascade.com>
Wed, 29 Jul 2015 13:06:49 +0000 (16:06 +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 3076341cb8a2cd42d8a7c8e5c4086a472a010ad5..9c70043ccbf173684d3a1be9d1cf3451d5d4808c 100644 (file)
@@ -379,7 +379,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) {
@@ -424,6 +426,7 @@ Standard_Integer bopargcheck (Draw_Interpretor& di,
   
   // init checker
   BOPAlgo_ArgumentAnalyzer aChecker;
+  aChecker.SetRunParallel(bRunParallel);
   aChecker.SetFuzzyValue(aTolerance);
   aChecker.SetShape1(aS1);