e700e1f71c1728359e8d54430d229021ec17dfa4
The hardcoded value doesn't work well with real scale human heads for example (was already adjusted once ina76b5d3a07). The result for too high values is a complete "freeze" of the whole curve (since the solution frome7606139bahas the problem that it keeps running into max iterations of the collision solver). As long as no better solver is implemented, it is better to have an adjustable value (to work on differently sizes objects) to not run into the above issue (same as the old particle hair system had) and show it in sculptmode next to the button which enables collision. This is done per `Curves` (same as the flag `CV_SCULPT_COLLISION_ENABLED`), similar to symmetry settings [alternatively, it could be part of `BrushCurvesSculptSettings` but I think it makes more sense in Curves] and then passed on to the `CurvesConstraintSolver`. Includes versioning code (to set the default for old files). Pull Request: https://projects.blender.org/blender/blender/pulls/132997
…
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%
