Blender Git Loki

Git Commits -> Revision 1ea5157

Revision 1ea5157 by Jeroen Bakker (master)
March 29, 2021, 10:16 (GMT)
Fix: Cryptomatte Metadata Trimmed to 1024.

When reading metadata from image files the metadata is trimmed to 1024.
For cryptomatte the metadata can contain json data and should not be
trimmed. Resulting additional checks in the manifest parser for
incomplete json data.

You could argue to add an exception for cryptomatte, but that would
still allows misuse. When the direction of this patch is accepted we
should consider removing `maxlen` from `IDP_AssignString` as it
doesn't seem to be used anywhere else.

Reviewed By: #images_movies, mont29, sergey

Differential Revision: https://developer.blender.org/D10825

Commit Details:

Full Hash: 1ea51570514e5731ca8327f9dafbe6b7515a8142
Parent Commit: 35cf34d
Lines Changed: +2, -3

1 Modified Path:

/source/blender/imbuf/intern/metadata.c (+2, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021