Philipp Oeser 71e1d795b3 Fix #124990: GP Draw mode always adds black color to a palette
Caused by fe0e2907b3

Prior to that commit, adding palette colors was only working because
`BKE_paintmode_get_active_from_context` was falling through to
`PaintMode::Texture2D` which then would do its thing in
`palette_color_add_exec`

To resolve, now respect `PaintMode::GPencil` as well there.

Pull Request: https://projects.blender.org/blender/blender/pulls/125062
2024-07-19 12:29:55 +02:00
2024-07-13 16:56:57 +10:00
2023-12-08 13:28:13 +11:00

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.

Blender screenshot

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
No description provided
Readme 841 MiB
Languages
C++ 78%
Python 14.9%
C 2.9%
GLSL 1.9%
CMake 1.2%
Other 0.9%