Cleanup: Remove BLI_array macros in editmesh_knife #119976

Merged
Jesse Yurkovich merged 2 commits from deadpin/blender:cleanup-array-knife into main 2024-03-29 01:52:08 +01:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 95a4e7dca2 - Show all commits

View File

@ -1881,7 +1881,7 @@ static int linehit_compare(const KnifeLineHit &lh1, const KnifeLineHit &lh2)
if (lh1.v > lh2.v) {
return false;
}
return true;
return false;
deadpin marked this conversation as resolved Outdated

I think it has to return false here?
The reference says true if the first argument is less than the second (not equal).
https://en.cppreference.com/w/cpp/algorithm/sort

I think it has to return false here? The reference says `true` if the first argument is less than the second (not equal). https://en.cppreference.com/w/cpp/algorithm/sort

Good catch!

Good catch!
}
/*