Blender Git Commit Log
Git Commits -> Revision 7af7548
Revision 7af7548 by Campbell Barton (temp-lanpr-staging) September 12, 2019, 01:13 (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: 7af75482c64871f5efc74229d8fc7b76d817f976
Parent Commit: 9987170
Committed By: YimingWu
Lines Changed: +610, -204
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)