0023966: Voxel_FastConverter performs unnecessary triangulation.
[occt.git] / src / Voxel / Voxel_FastConverter.cxx
index 2b86d72..f04089c 100755 (executable)
@@ -123,7 +123,7 @@ void Voxel_FastConverter::Init()
   {
     TopoDS_Face F = TopoDS::Face(expl.Current());
     Handle(Poly_Triangulation) T = BRep_Tool::Triangulation(F, L);
-    if (T.IsNull() || fabs(T->Deflection() - myDeflection) > Precision::Confusion())
+    if (T.IsNull() || (T->Deflection() > myDeflection))
     {
       triangulate = Standard_True;
       break;