diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-02-26 16:13:15 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-02-26 16:13:15 +0300 |
commit | 87ace4682761bdeaa8f18ae12a186dbfb83d4e04 (patch) | |
tree | 2efe16601fd9b69cfaf216c816f0c9daf41d6577 /source/blender/blenloader | |
parent | c489bb7c016fe4567516fbab4cc940b81f8e840f (diff) |
Cryptomatte: Manifest Parsing.
This patch adds manifest parsing to Cryptomatte. Normally when loading
cryptomatte layer from an OpenEXR file the manifest contains data to
convert a hash to its original name of the object/material. In the
future we want to use this to support lookup of cryptomatte
hashes and show it to the user.
Currently this logic isn't available to users (for now), but is required
by D3959 where a new cryptomatte workflow is implemented.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/versioning_290.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/versioning_290.c b/source/blender/blenloader/intern/versioning_290.c index 29041f4ae9d..02de0b0ff08 100644 --- a/source/blender/blenloader/intern/versioning_290.c +++ b/source/blender/blenloader/intern/versioning_290.c @@ -1431,7 +1431,7 @@ void blo_do_versions_290(FileData *fd, Library *UNUSED(lib), Main *bmain) if (matte_id == NULL || strlen(storage->matte_id) == 0) { continue; } - BKE_cryptomatte_matte_id_to_entries(NULL, storage, storage->matte_id); + BKE_cryptomatte_matte_id_to_entries(storage, storage->matte_id); MEM_SAFE_FREE(storage->matte_id); } } |