From a2795852cd29f7fcf7095680ef48aa6894a14cc1 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 10 Jun 2024 11:45:01 +0200 Subject: [PATCH] Fix ##122962: Regression: Backdrop update triggers crash Pull Request: https://projects.blender.org/blender/blender/pulls/122991 --- source/blender/compositor/operations/COM_ViewerOperation.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/blender/compositor/operations/COM_ViewerOperation.cc b/source/blender/compositor/operations/COM_ViewerOperation.cc index 6d2df173499..35c06f3ab31 100644 --- a/source/blender/compositor/operations/COM_ViewerOperation.cc +++ b/source/blender/compositor/operations/COM_ViewerOperation.cc @@ -165,6 +165,10 @@ void ViewerOperation::update_memory_buffer_finished(MemoryBuffer * /*output*/, const rcti & /*area*/, Span /*inputs*/) { + if (!image_) { + return; + } + const std::unique_ptr meta_data = this->get_input_socket(0)->get_reader()->get_meta_data();