Fix [#37380] vertex paint colors don't render.
authormont29 <mont29@954f8c5b-7b00-dc11-b283-0030488c597c>
Mon, 11 Nov 2013 20:37:19 +0000 (20:37 +0000)
committermont29 <mont29@954f8c5b-7b00-dc11-b283-0030488c597c>
Mon, 11 Nov 2013 20:37:19 +0000 (20:37 +0000)
commitd2eb6e261a9356903dd03ef072fc64d5233068f0
treedebae916d1ed97ad2ac4c64b090f8448b89eb557
parent44a27863cbf1e3b37022020bb9f5fd5ce340f200
Fix [#37380] vertex paint colors don't render.

Another Evil Typo (r) one, you could add much more than the 8 allowed VCol layers!

Note: added some (warning-only) checks in mesh validate functions, but we still have a big issue with new cdlayer merge function, which could generate more than 8 layers of UVs or VCol... Don't know yet how to handle this situation. :(

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61232 954f8c5b-7b00-dc11-b283-0030488c597c
blender/source/blender/blenkernel/intern/mesh_validate.c
blender/source/blender/editors/mesh/mesh_data.c