diff options
author | Campbell Barton <campbell@blender.org> | 2022-06-07 14:22:11 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-06-07 14:22:55 +0300 |
commit | 2918a3a2a374d9ad98923e9f6824534d7872c83f (patch) | |
tree | d45f6b30cb7cd2719952e3c746c2e7384c20dfd8 /source/blender/blenkernel/intern | |
parent | 1e0e1ad20f07990e8a48020dc944d414b5588ae6 (diff) |
Cleanup: spelling in comments, minor formatting tweaks
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/subsurf_ccg.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/source/blender/blenkernel/intern/subsurf_ccg.c b/source/blender/blenkernel/intern/subsurf_ccg.c index ba2df362b92..efabb4f039a 100644 --- a/source/blender/blenkernel/intern/subsurf_ccg.c +++ b/source/blender/blenkernel/intern/subsurf_ccg.c @@ -926,11 +926,9 @@ static void ccgDM_copyFinalVertArray(DerivedMesh *dm, MVert *mvert) int x; for (x = 1; x < edgeSize - 1; x++) { - /* This gives errors with -debug-fpe - * the normals don't seem to be unit length. - * this is most likely caused by edges with no - * faces which are now zerod out, see comment in: - * ccgSubSurf__calcVertNormals(), - campbell */ + /* NOTE(@campbellbarton): This gives errors with `--debug-fpe` the normals don't seem to be + * unit length. This is most likely caused by edges with no faces which are now zeroed out, + * see comment in: `ccgSubSurf__calcVertNormals()`. */ vd = ccgSubSurf_getEdgeData(ss, e, x); ccgDM_to_MVert(&mvert[i++], &key, vd); } |