Blender Git Commit Log

Git Commits -> Revision 8398050

Revision 8398050 by Hans Goudey (master)
October 1, 2020, 14:38 (GMT)
Use DNA defaults system for modifiers

As noted in T80164, there are quite a few area of Blender where the
"Reset to Default Value" operator in button context menus doesn't work.
Modifiers are one of them, because the DNA defaults system was never
set up for them.

Additionally, this should make modifier versioning easier. Whenever a
new field is added it should be automatically initialized to the
default value.

I had to make some ordering changes in the following modifiers to work
around an error with `-Wsign-conversion` in the macros:
- Solidify Modifier
- Corrective Smooth Modifier
- Screw Modifier

Some modifiers are special cases and are skipped in this commit:
- Data Transfer Modifier
- Cloth Modifier
- Fluid Modifier
- Softbody Modifier

Differential Revision: https://developer.blender.org/D8747

Commit Details:

Full Hash: 83980506957cd4e31e8dc7041672efb256b5c28c
Parent Commit: 551204a
Lines Changed: +1098, -345

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021