[Bf-blender-cvs] [0825869c82d] temp-T97907-compositor-meta-data: Store metadata in image buffer.
Jeroen Bakker
noreply at git.blender.org
Fri May 6 16:37:19 CEST 2022
Commit: 0825869c82d89f1f4ce6711735abf9245053deef
Author: Jeroen Bakker
Date: Fri May 6 16:33:40 2022 +0200
Branches: temp-T97907-compositor-meta-data
https://developer.blender.org/rB0825869c82d89f1f4ce6711735abf9245053deef
Store metadata in image buffer.
===================================================================
M source/blender/compositor/operations/COM_ViewerOperation.cc
===================================================================
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. */
More information about the Bf-blender-cvs
mailing list