fix new nightly lint on mikktspace (#18988)

# Objective

- new nightly lint make CI fail

## Solution

- Follow the lint: https://github.com/rust-lang/rust/pull/123239
This commit is contained in:
François Mockers 2025-04-30 07:19:01 +02:00 committed by GitHub
parent 9fca353782
commit 0fa115f911
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -756,7 +756,7 @@ unsafe fn CompareSubGroups(mut pg1: *const SSubGroup, mut pg2: *const SSubGroup)
return false;
}
while i < (*pg1).iNrFaces as usize && bStillSame {
bStillSame = if (*pg1).pTriMembers[i] == (*pg2).pTriMembers[i] {
bStillSame = if (&(*pg1).pTriMembers)[i] == (&(*pg2).pTriMembers)[i] {
true
} else {
false