Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2011-04-04 21:09:22 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2011-04-04 21:09:22 +0400
commit35c934af79d0ef4e87a03bd221c3359e13bbe393 (patch)
tree2f2db922ab5fc6828ebd3409cdbb32c1e12bb20b /source/blender/editors/mesh
parent89e4de45e4f95c1bba84a00e0cb5fedc0e319bc5 (diff)
Fix mistake in recent commit to revert some normal changes.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh_lib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/editmesh_lib.c b/source/blender/editors/mesh/editmesh_lib.c
index 7edbac3ebd2..670ca6235ba 100644
--- a/source/blender/editors/mesh/editmesh_lib.c
+++ b/source/blender/editors/mesh/editmesh_lib.c
@@ -2017,6 +2017,9 @@ void recalc_editnormals(EditMesh *em)
normal_tri_v3(efa->n, efa->v1->co, efa->v2->co, efa->v3->co);
cent_tri_v3(efa->cent, efa->v1->co, efa->v2->co, efa->v3->co);
}
+
+ accumulate_vertex_normals(efa->v1->no, efa->v2->no, efa->v3->no, n4,
+ efa->n, efa->v1->co, efa->v2->co, efa->v3->co, c4);
}
/* following Mesh convention; we use vertex coordinate itself for normal in this case */