X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesPlugin%2FFeaturesPlugin_Partition.cpp;h=74e68707e8fcece75c4a2a745691d4163521ea9f;hb=658fccce59f75b0cfa7c3f3d45f1ffb295ed24be;hp=66a64ba435017e15ef2fa1c3853a286f408c3b40;hpb=fb4f0172451724da7c67e5221e93f9fdc972e741;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/FeaturesPlugin_Partition.cpp b/src/FeaturesPlugin/FeaturesPlugin_Partition.cpp index 66a64ba43..74e68707e 100755 --- a/src/FeaturesPlugin/FeaturesPlugin_Partition.cpp +++ b/src/FeaturesPlugin/FeaturesPlugin_Partition.cpp @@ -127,7 +127,7 @@ void FeaturesPlugin_Partition::execute() return; } - if (GeomAlgoAPI_ShapeTools::volume(aPartitionAlgo->shape()) > 1.e-7) { + if (GeomAlgoAPI_ShapeTools::volume(aPartitionAlgo->shape()) > 1.e-27) { std::shared_ptr aResultBody = document()->createBody(data(), aResultIndex); aMakeShapeList.appendAlgo(aPartitionAlgo); GeomAPI_DataMapOfShapeShape& aMapOfShapes = *aPartitionAlgo->mapOfSubShapes().get(); @@ -162,7 +162,7 @@ void FeaturesPlugin_Partition::execute() return; } - if (GeomAlgoAPI_ShapeTools::volume(aPartitionAlgo->shape()) > 1.e-7) { + if (GeomAlgoAPI_ShapeTools::volume(aPartitionAlgo->shape()) > 1.e-27) { std::shared_ptr aResultBody = document()->createBody(data(), aResultIndex); GeomAlgoAPI_MakeShapeList aMakeShapeListCopy = aMakeShapeList; aMakeShapeListCopy.appendAlgo(aPartitionAlgo);