diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-04-01 22:35:49 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-04-01 22:35:49 +0400 |
commit | d40b0dfb758eb45027ba7b9b4fc4e9477f201480 (patch) | |
tree | a41be833e5b097db8d081087663a6d2ef9d83398 /source/blender/editors/mesh | |
parent | 18fd4d3137db8756c85d4cc8593e52aac2939970 (diff) |
Comments for mesh normals calculation from Mortem Mikkelsen (aka sparky).
We hope it'll help for further workers in this area!
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r-- | source/blender/editors/mesh/editmesh_lib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/editmesh_lib.c b/source/blender/editors/mesh/editmesh_lib.c index e63ce98c1b0..d3945a53f0d 100644 --- a/source/blender/editors/mesh/editmesh_lib.c +++ b/source/blender/editors/mesh/editmesh_lib.c @@ -2028,6 +2028,8 @@ void recalc_editnormals(EditMesh *em) } /* build smooth normals for uninitialized normals at faces set to flat */ + /* For such faces the renderer/3Dview and exporters will be using the face normal */ + /* The vertex normals built inside this if-statement are entirely to support the needs of the modeler */ if(found_flat!=0) { for(efa= em->faces.first; efa; efa=efa->next) { efa->v1->tmp.t= 0; |