a6d6251b6efd214c83c3da44e904715781a01443
When texture painting on a Non-color byte texture with Texture limit active (or the texture didn't fit on the GPU) the data for partial updating of a GPU texture was incorrect. `gpu_texture_update_scaled` expects an input buffer clipped to the bounds of the input area that needs to be updated. In case for Byte textures with Non Color colorspace it received the unmodified input buffer, resulting in incorrect data to be uploaded to the GPU texture. This PR fixes this by selecting the non-optimized branch when the texture is a Byte buffer with Data color space and scaling should happen. Pull Request: https://projects.blender.org/blender/blender/pulls/112834
…
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%
