39 if (cryptomatte_hash.length() || cryptomatte_conversion.length() ||
40 cryptomatte_manifest.length())
42 add_cryptomatte_entry(layer_name,
"name", layer_name);
44 if (cryptomatte_hash.length()) {
45 add_cryptomatte_entry(layer_name,
"hash", cryptomatte_hash);
47 if (cryptomatte_conversion.length()) {
48 add_cryptomatte_entry(layer_name,
"conversion", cryptomatte_conversion);
50 if (cryptomatte_manifest.length()) {
51 add_cryptomatte_entry(layer_name,
"manifest", cryptomatte_manifest);