001b8912fff005f310d880a717811de2db0e0040
Prior to this commit, whether or not a brush was capable of using certain options in Sculpt mode and whether or not these properties would be shown to the user was spread across a number of files and inconsistently applied. This commit moves most of these checks to the bke::brush namespace so that we have a single source of truth for these checks. In total this commit: * Changes all BrushCapabilitiesSculpt methods to use the equivalent bke::brush function * Removes brush type macros * Renames BKE_brush_supports_secondary_color to fit the new pattern * Refactors inverted logic for the `direction` property Pull Request: https://projects.blender.org/blender/blender/pulls/137249
…
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%
