Fix T51534: Alembic: added support for face-varying vertex colours
authorSybren A. Stüvel <sybren@stuvel.eu>
Tue, 23 May 2017 15:27:09 +0000 (17:27 +0200)
committerSybren A. Stüvel <sybren@stuvel.eu>
Tue, 23 May 2017 15:27:15 +0000 (17:27 +0200)
commit7b25ffb618dd7509d425f7a5891c64d4a3668743
treee955a54b4e84c0a517054b819de504f9d2a23fff
parentcc0cc880de5a66d72f571bec4c7d3eb1219aefc0
Fix T51534: Alembic: added support for face-varying vertex colours

Houdini writes vertex data in a different format than Blender does; Houdini
uses "face-varying scope", which means that the vertex colours are indexed
by an ever-increasing number over all vertices of all faces instead of the
vertex index.

I've also merged the read_custom_data_mcols() and read_mcols() functions,
because the latter was only called from the former, and the changes in this
commit would add yet more function parameters to pass.
source/blender/alembic/intern/abc_customdata.cc
tests/python/bl_alembic_import_test.py