Blender Git Loki
Git Commits -> Revision f5e0dfe
Revision f5e0dfe by Campbell Barton (master) September 9, 2019, 13:17 (GMT) |
DNA: initial DNA defaults support This provides an API to access structs with their members set to default values: - DNA_struct_default_get(name) - DNA_struct_default_alloc(name) Currently this is only used for scene & view shading initialization, eventually it can be used for RNA defaults and initializing DNA struct members on file reading. |
Commit Details:
Full Hash: f5e0dfe59c7e748907f955f848264751ed0967f0
Parent Commit: e164afe
Lines Changed: +610, -277
4 Added Paths:
/source/blender/makesdna/DNA_defaults.h (+46, -0) (View)
/source/blender/makesdna/DNA_scene_defaults.h (+365, -0) (View)
/source/blender/makesdna/DNA_view3d_defaults.h (+62, -0) (View)
/source/blender/makesdna/intern/dna_defaults.c (+112, -0) (View)
/source/blender/makesdna/DNA_scene_defaults.h (+365, -0) (View)
/source/blender/makesdna/DNA_view3d_defaults.h (+62, -0) (View)
/source/blender/makesdna/intern/dna_defaults.c (+112, -0) (View)