Blender Git Loki

Git Commits -> Revision 264c8c2

Revision 264c8c2 by Campbell Barton (master)
February 10, 2011, 09:29 (GMT)
mesh.validate() now returns True if any corrections were made.
tested that correcting invalid meshes works by generating random meshes and checking that only the first call to mesh.validate() makes changes.

found 2 bugs in mesh validation.
- face sorting array wasn't assigned correct indices.
- removing invalid edges used wrong comparison.

Commit Details:

Full Hash: 264c8c21623c3b011494e169f0571c410331e553
SVN Revision: 34753
Parent Commit: 0356e3b
Lines Changed: +24, -27

4 Modified Paths:

/source/blender/blenkernel/BKE_mesh.h (+3, -3) (Diff)
/source/blender/blenkernel/intern/mesh.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/mesh_validate.c (+16, -22) (Diff)
/source/blender/makesrna/intern/rna_mesh_api.c (+4, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021