[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43540] branches/bmesh/blender/source/ blender/bmesh/intern/bmesh_polygon.c: fix in recent commit with face normal calc optimization
Campbell Barton
ideasman42 at gmail.com
Thu Jan 19 21:53:02 CET 2012
Revision: 43540
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43540
Author: campbellbarton
Date: 2012-01-19 20:52:51 +0000 (Thu, 19 Jan 2012)
Log Message:
-----------
fix in recent commit with face normal calc optimization
Modified Paths:
--------------
branches/bmesh/blender/source/blender/bmesh/intern/bmesh_polygon.c
Modified: branches/bmesh/blender/source/blender/bmesh/intern/bmesh_polygon.c
===================================================================
--- branches/bmesh/blender/source/blender/bmesh/intern/bmesh_polygon.c 2012-01-19 19:23:25 UTC (rev 43539)
+++ branches/bmesh/blender/source/blender/bmesh/intern/bmesh_polygon.c 2012-01-19 20:52:51 UTC (rev 43540)
@@ -497,7 +497,7 @@
BMVert *v1 = (l = bm_firstfaceloop(f))->v;
BMVert *v2 = (l = l->next)->v;
BMVert *v3 = (l = l->next)->v;
- BMVert *v4 = (l)->v;
+ BMVert *v4 = (l->next)->v;
normal_quad_v3(f->no,v1->co, v2->co, v3->co, v4->co);
break;
}
@@ -505,7 +505,7 @@
{
BMVert *v1 = (l = bm_firstfaceloop(f))->v;
BMVert *v2 = (l = l->next)->v;
- BMVert *v3 = (l)->v;
+ BMVert *v3 = (l->next)->v;
normal_tri_v3(f->no,v1->co, v2->co, v3->co);
break;
}
More information about the Bf-blender-cvs
mailing list