5d5027db031e2149579af6150e1acf9ffd04accc
Add a Gaussian smoothing operator to supersede the current smoothing operator in the graph editor. Advantage over the current implementation: * Supports modal operations * Is independent of key density * More options in the redo panel * More predictable Impulse Response Option in the redo panel to change Filter Width: How far out on each side of a key the code checks to average key values Sigma: The shape of the bell curve, lower values make a sharper bell curve reducing the smoothing effect. Too High values will make the code behave like an average filter as the curve in the -1/1 range will almost be flat. On a technical note, the operator needs to store additional data when running in modal to avoid allocating/deallocating data on every modal run. For that reason the `tGraphSliderOp` struct has been extended with `void *operator_data` and `void (*free_operator_data)(void *operator_data)`. The former is the data and the latter is a function responsible for freeing that data. Pull Request: https://projects.blender.org/blender/blender/pulls/105635
…
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%
