Salome HOME
Update translation files from Crowdin
[modules/smesh.git] / src / SMESH / SMESH_MeshEditor.cxx
index 831767d2915cf0592fb130557b62275e8008b4ad..a625ba50a2d6297c4ab3cfc364b5ba0f3d40a7d6 100644 (file)
@@ -50,6 +50,7 @@
 #include <Basics_OCCTVersion.hxx>
 
 #include "utilities.h"
+#include "chrono.hxx"
 
 #include <BRepAdaptor_Surface.hxx>
 #include <BRepBuilderAPI_MakeEdge.hxx>
@@ -10392,6 +10393,7 @@ namespace {
     }
     void Perform(const gp_Pnt& aPnt, double theTol)
     {
+      theTol *= theTol;
       _state = TopAbs_OUT;
       _extremum.Perform(aPnt);
       if ( _extremum.IsDone() )