Salome HOME
added checkbox in UI for optional fuzzy parameter
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_Partition.cpp
index fe49e167a2ea42a4d6d744b2ff6eb6b2a8b74d7c..dae505c08cbb2ca88b9a17ff06ec09952009c769 100644 (file)
@@ -202,7 +202,7 @@ void GeomAlgoAPI_Partition::build(const ListOfShape& theObjects,
   Standard_Boolean bRunParallel = Standard_True;
   anOperation->SetRunParallel(bRunParallel);
 
-  if (theFuzzy >= 1.e-7) anOperation->SetFuzzyValue(theFuzzy);
+  if (theFuzzy > 0) anOperation->SetFuzzyValue(theFuzzy);
 
   // Building and getting result.
   anOperation->Perform();