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)
commit15172c73d54e0e9b7a88c0ecdd0a4edefb33034b
tree77b8a3b5a6072f1394bc3c2d1da12229639df1f0
parent45ce601f2326196b5e6f4360bf27cc81ad12f413
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