0f3c6da27250e200130f54757b844dfbe8eb791f
To support setting the custom `CurveMapping` to a well defined preset, there exist a number of operators that are hardcoded to apply a particular preset to a particular curve. This commit begins to replace this functionality and make it part of the template itself, allowing the preset to be applied to any curve. For now, it only supports either positive or negative slopes, primarily for the brush usecases. The `brush.curve_preset` and `brush.sculpt_curves_falloff_preset` operators are unneeded after this change and have been removed. Notably, these preset controls have not been added elsewhere, they can be added on a case by case basis in future commits by interested modules. Pull Request: https://projects.blender.org/blender/blender/pulls/146847
…
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%
