[Bf-blender-cvs] [20c84ad] blender-v2.72-release: Fix T41986: polyfill fails with axis aligned verts

Campbell Barton noreply at git.blender.org
Fri Oct 3 15:24:23 CEST 2014


Commit: 20c84ad2b2dfcf5eb7c63706f705e7af2f586107
Author: Campbell Barton
Date:   Sun Sep 28 21:11:16 2014 +1000
Branches: blender-v2.72-release
https://developer.blender.org/rB20c84ad2b2dfcf5eb7c63706f705e7af2f586107

Fix T41986: polyfill fails with axis aligned verts

===================================================================

M	source/blender/blenlib/intern/polyfill2d.c

===================================================================

diff --git a/source/blender/blenlib/intern/polyfill2d.c b/source/blender/blenlib/intern/polyfill2d.c
index a00d95a0..16cf7ff 100644
--- a/source/blender/blenlib/intern/polyfill2d.c
+++ b/source/blender/blenlib/intern/polyfill2d.c
@@ -567,7 +567,7 @@ static void pf_triangulate(PolyFill *pf)
 
 #ifdef USE_CLIP_EVEN
 #ifdef USE_CLIP_SWEEP
-		pi_ear_init = reverse ? pi_next->next : pi_prev->prev;
+		pi_ear_init = reverse ? pi_prev->prev : pi_next->next;
 #else
 		pi_ear_init = pi_next->next;
 #endif




More information about the Bf-blender-cvs mailing list