[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [26874] trunk/blender/source/blender/ editors/mesh/editmesh_lib.c: Copy vertex normals on extrude ( Normal orientation is wrong otherwise when not extruding faces).

Martin Poirier theeth at yahoo.com
Sat Feb 13 21:06:56 CET 2010


Revision: 26874
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=26874
Author:   theeth
Date:     2010-02-13 21:06:56 +0100 (Sat, 13 Feb 2010)

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

Modified Paths:
--------------
    trunk/blender/source/blender/editors/mesh/editmesh_lib.c

Modified: trunk/blender/source/blender/editors/mesh/editmesh_lib.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/editmesh_lib.c	2010-02-13 15:50:46 UTC (rev 26873)
+++ trunk/blender/source/blender/editors/mesh/editmesh_lib.c	2010-02-13 20:06:56 UTC (rev 26874)
@@ -1556,6 +1556,7 @@
 			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;





More information about the Bf-blender-cvs mailing list