From 0825869c82d89f1f4ce6711735abf9245053deef Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Fri, 6 May 2022 16:33:40 +0200 Subject: Store metadata in image buffer. --- source/blender/compositor/operations/COM_ViewerOperation.cc | 3 +++ 1 file changed, 3 insertions(+) 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 = 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. */ -- cgit v1.2.3