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:
authorMartin Poirier <theeth@yahoo.com>2010-02-13 23:06:56 +0300
committerMartin Poirier <theeth@yahoo.com>2010-02-13 23:06:56 +0300
commit5d9fcfb3ec976ae3553990b064ff6a38b54a3274 (patch)
treeeda819989cef4f7978b4d5ac63dba54cc66491d3 /source/blender/editors
parent3917691297f786df56878d92d391335489104568 (diff)
Copy vertex normals on extrude (Normal orientation is wrong otherwise when not extruding faces).
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/mesh/editmesh_lib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/editmesh_lib.c b/source/blender/editors/mesh/editmesh_lib.c
index eaea0c6760b..467077e6a80 100644
--- a/source/blender/editors/mesh/editmesh_lib.c
+++ b/source/blender/editors/mesh/editmesh_lib.c
@@ -1556,6 +1556,7 @@ short extrudeflag_vert(Object *obedit, EditMesh *em, short flag, float *nor, int
v1= addvertlist(em, 0, NULL);
VECCOPY(v1->co, eve->co);
+ VECCOPY(v1->no, eve->no);
v1->f= eve->f;
eve->f-= flag;
eve->tmp.v = v1;