[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [35651] branches/bmesh/blender/source/ blender/bmesh/operators/mesh_conv.c: fix for copying normals in, mesh_to_bmesh_exec()

Campbell Barton ideasman42 at gmail.com
Sun Mar 20 15:53:47 CET 2011


Revision: 35651
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=35651
Author:   campbellbarton
Date:     2011-03-20 14:53:47 +0000 (Sun, 20 Mar 2011)
Log Message:
-----------
fix for copying normals in, mesh_to_bmesh_exec()

Modified Paths:
--------------
    branches/bmesh/blender/source/blender/bmesh/operators/mesh_conv.c

Modified: branches/bmesh/blender/source/blender/bmesh/operators/mesh_conv.c
===================================================================
--- branches/bmesh/blender/source/blender/bmesh/operators/mesh_conv.c	2011-03-20 14:49:16 UTC (rev 35650)
+++ branches/bmesh/blender/source/blender/bmesh/operators/mesh_conv.c	2011-03-20 14:53:47 UTC (rev 35651)
@@ -120,7 +120,7 @@
 
 	for (i=0; i<me->totvert; i++, mvert++) {
 		v = BM_Make_Vert(bm, keyco ? keyco[i] : mvert->co, NULL);
-		copy_v3_v3(v->no, mvert->no);
+		normal_short_to_float_v3(v->no, mvert->no);
 
 		vt[i] = v;
 		BMINDEX_SET(v, i);




More information about the Bf-blender-cvs mailing list