]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Minor changes
authorapo <apo@opencascade.com>
Tue, 5 Dec 2006 08:46:00 +0000 (08:46 +0000)
committerapo <apo@opencascade.com>
Tue, 5 Dec 2006 08:46:00 +0000 (08:46 +0000)
src/PIPELINE/VISU_PipeLineUtils.cxx

index 3e67f0d5af1af49b5cd69ba971c97e51a30606c0..0729cb591ac5d663ebf9a8736478db07b0d87d84 100644 (file)
@@ -54,7 +54,9 @@ namespace VISU
                   vtkFloatingPointType* theSource)
   {
     static vtkFloatingPointType TOL = 10.0 / VTK_LARGE_FLOAT;
-    return std::abs(theTarget[0] - theSource[0]) + std::abs(theTarget[1] - theSource[1])  < TOL;
+    if(std::abs(theTarget[0] - theSource[0]) + std::abs(theTarget[1] - theSource[1])  < TOL)
+      return true;
+    return false;
 }
   
   void