Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2021-01-19 20:28:45 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2021-01-19 20:28:45 +0300
commit7d114e5d870b8d28d2051163bedc95ed80253b8f (patch)
tree02f6af8c27d8087bbec520789bdff9ede467400c /source/blender/compositor/operations
parentb39ee69789cd8ef93414a6864fae8754538bc96f (diff)
parent36f0a1ead7ce59f6dd62e7fd032a28c49ae9a932 (diff)
Merge branch 'blender-v2.92-release'
Diffstat (limited to 'source/blender/compositor/operations')
-rw-r--r--source/blender/compositor/operations/COM_OutputFileOperation.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/compositor/operations/COM_OutputFileOperation.cpp b/source/blender/compositor/operations/COM_OutputFileOperation.cpp
index 0a7e238fed1..2f8740081a1 100644
--- a/source/blender/compositor/operations/COM_OutputFileOperation.cpp
+++ b/source/blender/compositor/operations/COM_OutputFileOperation.cpp
@@ -341,6 +341,10 @@ StampData *OutputOpenExrMultiLayerOperation::createStampData() const
render_result.stamp_data = stamp_data;
for (int i = 0; i < this->m_layers.size(); i++) {
const OutputOpenExrLayer *layer = &this->m_layers[i];
+ /* Skip unconnected sockets. */
+ if (layer->imageInput == nullptr) {
+ continue;
+ }
std::unique_ptr<MetaData> meta_data = layer->imageInput->getMetaData();
if (meta_data) {
blender::StringRef layer_name = blender::BKE_cryptomatte_extract_layer_name(