Skip to content

Commit

Permalink
updated Geodesic filter and vcgLib
Browse files Browse the repository at this point in the history
  • Loading branch information
cignoni committed Nov 11, 2024
1 parent 0ab95f8 commit b1f8c42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/meshlabplugins/filter_geodesic/filter_geodesic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ std::map<std::string, QVariant> FilterGeodesic::applyFilter(const QAction *filte
bool ret = tri::Geodesic<CMeshO>::DistanceFromBorder(m.cm);

// Cleaning Quality value of the unreferenced vertices
// Unreached vertices has a quality that is maxfloat
// Unreached vertices have a quality that is maxfloat
int unreachedCnt=0;
Scalarm unreached = std::numeric_limits<Scalarm>::max();
for(vi=m.cm.vert.begin();vi!=m.cm.vert.end();++vi) if(!(*vi).IsD())
Expand All @@ -196,7 +196,7 @@ std::map<std::string, QVariant> FilterGeodesic::applyFilter(const QAction *filte
(*vi).Q()=0;
}
if(unreachedCnt >0 )
log("Warning: %i vertices were unreachable from the borders, probably your mesh has unreferenced vertices",unreachedCnt);
log("Warning: %i vertices were unreachable from the borders, probably your mesh has unreferenced vertices or isolated closed connected components",unreachedCnt);

if(!ret) log("Mesh Has no borders. No geodesic distance computed");
else tri::UpdateColor<CMeshO>::PerVertexQualityRamp(m.cm);
Expand Down
2 changes: 1 addition & 1 deletion src/vcglib

0 comments on commit b1f8c42

Please sign in to comment.