1fc6a5b9bd5f7d2763ba4a83f52bbbbcf242170b
Technically the regression was caused by #124472 which made it so duplicating ImBuf allocates the exact amount of memory needed to hold the pixels, while before IMB_dupImBuf() would leave the float buffer over-allocated for images that are less than 4 channels per pixel. At the same time IMB_scalefastImBuf() was hard-coded to use 4 channels per pixels, for both byte and float buffers. It did not crash in Blender 4.1 as it was accessing memory that is over-allocated, but it also did not generate proper preview. This fix makes the IMB_scalefastImBuf() to operate on an arbitrary number of channels in the float buffer. Pull Request: https://projects.blender.org/blender/blender/pulls/126234
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
