Blender Git Commit Log

Git Commits -> Revision 3235a30

Revision 3235a30 by Bastien Montagne (master)
December 3, 2018, 15:22 (GMT)
Fix T57858: Add validation callback to CustomData layers.

Our mesh validation was only checking cd layout so far, not their actual
data. While this might only be needed for a few types, this is a
required addition for things like imported UVs, else we have no way to
avoid nasty things like NANs & co.

Note that more layer types may need that callback, time will say. For
now added it to some obvious missing cases...

Commit Details:

Full Hash: 3235a3081c12e99d4bec350eff04b3073c07cdf8
Parent Commit: 9574357
Lines Changed: +127, -27

6 Modified Paths:

/source/blender/blenkernel/BKE_customdata.h (+4, -0) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+4, -2) (Diff)
/source/blender/blenkernel/intern/customdata.c (+88, -10) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/mesh_runtime.c (+4, -1) (Diff)
/source/blender/blenkernel/intern/mesh_validate.c (+23, -10) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021