Skip to content

Commit

Permalink
Merge pull request #453 from kerautret/FiwRescaleName
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoeurjo committed Nov 17, 2023
2 parents d63146b + fb94d8e commit e031dfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion converters/mesh2heightfield.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ int main( int argc, char** argv )
double diagDist = (b.first-b.second).norm();
if(diagDist<minDiagVolSize){
meshScale = minDiagVolSize/diagDist;
inputMesh.changeScale(meshScale);
inputMesh.rescale(meshScale);
}

triangleAreaUnit *= meshScale;
Expand Down

0 comments on commit e031dfb

Please sign in to comment.