[Bf-blender-cvs] [fa1e6c5] master: Fix T41986: polyfill fails with axis aligned verts
Campbell Barton
noreply at git.blender.org
Sun Sep 28 13:15:47 CEST 2014
Commit: fa1e6c5442e6bae39b60d3c22b80d2ab20e1bd7a
Author: Campbell Barton
Date: Sun Sep 28 21:11:16 2014 +1000
Branches: master
https://developer.blender.org/rBfa1e6c5442e6bae39b60d3c22b80d2ab20e1bd7a
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