[Bf-blender-cvs] CVS commit: blender/source/blender/blenkernel/intern modifier.c blender/source/blender/blenlib/intern BLI_ghash.c
Ben Batt
benbatt at gmail.com
Tue Sep 5 15:15:55 CEST 2006
artificer (Ben Batt) 2006/09/05 15:15:55 CEST
Modified files:
blender/source/blender/blenkernel/intern modifier.c
blender/source/blender/blenlib/intern BLI_ghash.c
Log:
Redesigned the EdgeSplit modifier's splitting algorithm to be better
structured and more maintainable. The old algorithm could leave the mesh in an
inconsistent state during recursive calls, making it quite fragile. The new
algorithm keeps the mesh in a consistent state, and should be more robust.
This commit fixes the issues EdgeSplit was having with non-manifold meshes
(bug #4946, also reported by several other people). EdgeSplit now works
correctly with all the test files I have.
This commit also fixes the BLI_ghash_remove function to correctly decrement
gh->nentries (the number of entries in the hashtable) on a successful removal.
Revision Changes Path
1.72 +316 -222 blender/source/blender/blenkernel/intern/modifier.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/blenkernel/intern/modifier.c.diff?r1=1.71&r2=1.72&cvsroot=bf-blender>
1.7 +2 -0 blender/source/blender/blenlib/intern/BLI_ghash.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/blenlib/intern/BLI_ghash.c.diff?r1=1.6&r2=1.7&cvsroot=bf-blender>
More information about the Bf-blender-cvs
mailing list