6aa21ed7526cafbd873a85d9230e44cc9bf29ec7
The IMB_dupImBuf() function does not copy the GPU texture as it might not be possible if the GPU context is not active, but it also was not clearing the pointer in the result ImBuf. This could potentially lead to situation when the texture gets freed via IMB_freeImBuf of either original or copied image buffer, leaving the other pointing to a freed GPU texture. It is not known whether it ever was an actual problem for artists, but it is nice to avoid such possibility. Pull Request: https://projects.blender.org/blender/blender/pulls/119469
…
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%
