diff --git a/Geo/GModel.cpp b/Geo/GModel.cpp index a32f15eff8f011dca4c68263b2da1a02bd4ab2ef..fc52c849b1cd393b64fff3b55fbaa0c85610dbd8 100644 --- a/Geo/GModel.cpp +++ b/Geo/GModel.cpp @@ -348,8 +348,8 @@ void GModel::snapVertices() (gp.z() - (*vit)->z()) * (gp.z() - (*vit)->z())); if (d > tol){ (*vit)->setPosition(gp); - Msg::Warning("Geom Vertex %d Corrupted (%12.5E)... Snap performed", - (*vit)->tag(), d); + Msg::Info("Snapping geometry vertex %d to curve control point (dist = %g)", + (*vit)->tag(), d); } } vit++; diff --git a/Geo/GModelIO_OCC.cpp b/Geo/GModelIO_OCC.cpp index 649411929ce9bb9b31303c51f62677c30c1b7ac1..0af2bacd8cc8563aead2d9bc9935b7da844794b8 100644 --- a/Geo/GModelIO_OCC.cpp +++ b/Geo/GModelIO_OCC.cpp @@ -987,7 +987,7 @@ int GModel::readOCCBREP(const std::string &fn) _occ_internals = new OCC_Internals; _occ_internals->loadBREP(fn.c_str()); _occ_internals->buildGModel(this); - snapVertices(); + //snapVertices(); return 1; } @@ -996,6 +996,7 @@ int GModel::readOCCSTEP(const std::string &fn) _occ_internals = new OCC_Internals; _occ_internals->loadSTEP(fn.c_str()); _occ_internals->buildGModel(this); + //snapVertices(); return 1; } @@ -1034,7 +1035,7 @@ int GModel::importOCCShape(const void *shape) _occ_internals = new OCC_Internals; _occ_internals->loadShape((TopoDS_Shape*)shape); _occ_internals->buildGModel(this); - snapVertices(); + //snapVertices(); SetBoundingBox(); return 1; }