diff options
author | Jeroen Bakker <jeroen@blender.org> | 2022-05-06 17:33:40 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2022-05-06 17:33:40 +0300 |
commit | 0825869c82d89f1f4ce6711735abf9245053deef (patch) | |
tree | d5ac7e731c18eb9d77be09dbf023aa72dd0d642c | |
parent | cc66340c7e829a41450347fbc043ac8e8d029f07 (diff) |
Store metadata in image buffer.temp-T97907-compositor-meta-data
-rw-r--r-- | source/blender/compositor/operations/COM_ViewerOperation.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/compositor/operations/COM_ViewerOperation.cc b/source/blender/compositor/operations/COM_ViewerOperation.cc index 8892f628466..74b6c3493fb 100644 --- a/source/blender/compositor/operations/COM_ViewerOperation.cc +++ b/source/blender/compositor/operations/COM_ViewerOperation.cc @@ -202,6 +202,9 @@ void ViewerOperation::update_image(const rcti *rect) rect->ymax); std::unique_ptr<MetaData> metadata = image_input_->get_meta_data(); + if (metadata.has_value()) { + // TODO: metadata.add_to_id_prop. + } /* This could be improved to use partial updates. For now disabled as the full frame compositor * would not use partial frames anymore and the image engine requires more testing. */ |