Override layers are a standard feature of Alembic, where archives can override
data from other archives, provided that the hierarchies match.
This is useful for modifying a UV map, updating an animation, or even creating
some sort of LOD system where low resolution meshes are swapped by high resolution
versions.
It is possible to add UV maps and vertex colors using this system, however, they
will only appear in the spreadsheet editor when viewing evaluated data, as the UV
map and Vertex color UI only show data present on the original mesh.
Implementation wise, this adds a `CacheFileLayer` data structure to the `CacheFile`
DNA, as well as some operators and UI to present and manage the layers. LayersFor both
can be moved around or hiddenthe Alembic importer and the Cycles procedural, the main change is creating an
archive from a list of filepaths, instead of a single one.
For both the Alembic importer and the Cycles procedural,After importing the base file through the regular import operator, layers can be added
to or removed from the `CacheFile` via the UI list under the `Override Layers` panel
located in the Mesh Sequence Cache modifier. the main change isLayers can also be moved around or
creating an archive from a list of filepaths, instead of a single one.hidden.
-------
Here is the UI for the layers:
{F12800647}
And a video demonstrating the feature:
{F12800648}
Files for the unit test:
{F12800652}
{F12800651}