From 89d91f5a7d5187bb6fcdf5a4895cd5100a020f6a Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 4 Dec 2012 08:10:53 +0000 Subject: Fix #33402: Compositor crashes when drag-dropping multilayer exr There was a missing image reload signal in node creation by drag-dropping, which lead to incorrectly set image type. Also fixed misusage of IMB_freeImBuf used to release buffer acquired by BKE_image_acquire_ibuf. --- source/blender/compositor/operations/COM_ImageOperation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/compositor/operations') diff --git a/source/blender/compositor/operations/COM_ImageOperation.cpp b/source/blender/compositor/operations/COM_ImageOperation.cpp index d4c35f5afaa..84557118a1c 100644 --- a/source/blender/compositor/operations/COM_ImageOperation.cpp +++ b/source/blender/compositor/operations/COM_ImageOperation.cpp @@ -109,7 +109,7 @@ void BaseImageOperation::determineResolution(unsigned int resolution[2], unsigne resolution[1] = stackbuf->y; } - IMB_freeImBuf(stackbuf); + BKE_image_release_ibuf(this->m_image, stackbuf, NULL); } void ImageOperation::executePixel(float output[4], float x, float y, PixelSampler sampler) -- cgit v1.2.3