Blender Git Commit Log
Git Commits -> Revision 61c941f
Revision 61c941f by Alexander Gavrilov (master) December 19, 2018, 11:20 (GMT) |
RNA: support setting default values for custom properties. NLA requires a usable default value for all properties that are to be animated via it, without any exceptions. This is the real cause of T36496: using the default of 0 for a scale related custom property obviously doesn't work. Thus, to really fix this it is necessary to support configurable default values for custom properties, which are very frequently used in rigs for auxiliary settings. For common use it is enough to support this for scalar float and integer properties. The default can be set via the custom property configuration popup, or a right click menu option. In addition, to help in updating old rigs, an operator that saves current values as defaults for all object and bone properties is added. Reviewers: campbellbarton, brecht Differential Revision: https://developer.blender.org/D4084 |
Commit Details:
Full Hash: 61c941f040d367d18fcaa57c9e8e0c2078193d97
Parent Commit: 908a274
Lines Changed: +350, -9
8 Modified Paths:
/release/scripts/modules/rna_prop_ui.py (+19, -0) (Diff)
/release/scripts/startup/bl_operators/object.py (+44, -0) (Diff)
/release/scripts/startup/bl_operators/wm.py (+49, -6) (Diff)
/release/scripts/startup/bl_ui/space_view3d.py (+5, -0) (Diff)
/source/blender/editors/interface/interface_context_menu.c (+8, -1) (Diff)
/source/blender/editors/interface/interface_ops.c (+53, -0) (Diff)
/source/blender/makesrna/intern/rna_access.c (+169, -2) (Diff)
/source/blender/makesrna/RNA_access.h (+3, -0) (Diff)
/release/scripts/startup/bl_operators/object.py (+44, -0) (Diff)
/release/scripts/startup/bl_operators/wm.py (+49, -6) (Diff)
/release/scripts/startup/bl_ui/space_view3d.py (+5, -0) (Diff)
/source/blender/editors/interface/interface_context_menu.c (+8, -1) (Diff)
/source/blender/editors/interface/interface_ops.c (+53, -0) (Diff)
/source/blender/makesrna/intern/rna_access.c (+169, -2) (Diff)
/source/blender/makesrna/RNA_access.h (+3, -0) (Diff)