Copy vertex normals on extrude (Normal orientation is wrong otherwise when not extruding faces).

This commit is contained in:
Martin Poirier 2010-02-13 20:06:56 +00:00
parent 3917691297
commit 5d9fcfb3ec

@ -1556,6 +1556,7 @@ short extrudeflag_vert(Object *obedit, EditMesh *em, short flag, float *nor, int
v1= addvertlist(em, 0, NULL); v1= addvertlist(em, 0, NULL);
VECCOPY(v1->co, eve->co); VECCOPY(v1->co, eve->co);
VECCOPY(v1->no, eve->no);
v1->f= eve->f; v1->f= eve->f;
eve->f-= flag; eve->f-= flag;
eve->tmp.v = v1; eve->tmp.v = v1;