Cleanup: quiet clang-tidy warning

This commit is contained in:
Campbell Barton 2021-04-23 09:01:57 +10:00
parent f240b5e5f7
commit 3cb09f7a83
1 changed files with 1 additions and 1 deletions

View File

@ -2237,7 +2237,7 @@ static short snapMesh(SnapObjectContext *sctx,
if (me->totvert == 0) {
return 0;
}
else if (me->totedge == 0 && !(snapdata->snap_to_flag & SCE_SNAP_MODE_VERTEX)) {
if (me->totedge == 0 && !(snapdata->snap_to_flag & SCE_SNAP_MODE_VERTEX)) {
return 0;
}