Blender Git Commit Log

Git Commits -> Revision 0feb2ac

Revision 0feb2ac by Campbell Barton (master)
December 8, 2011, 04:51 (GMT)
regarding [#29521] Invalid Vertex Weights

added checks to mesh.validate() so it checks for nan weights and negative groups which can crash blender.

the file in the report looks to be corrupt, but this at least can make it load.

also noticed validate was using isnan() and finite() were both used to check valid vertex locations, only finite is needed.

Commit Details:

Full Hash: 0feb2acd8a1deeb56c91723f557055ccd579ac0a
SVN Revision: 42508
Parent Commit: 2b82498
Lines Changed: +66, -6

2 Modified Paths:

/source/blender/blenkernel/BKE_mesh.h (+7, -1) (Diff)
/source/blender/blenkernel/intern/mesh_validate.c (+59, -5) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021