Blender Git Loki

Git Commits -> Revision b13459f

Revision b13459f by Campbell Barton (master)
October 2, 2020, 21:25 (GMT)
Cleanup: rename main preferences versioning function

BLO_version_defaults_userpref_blend -> blo_do_versions_userdef

The name was misleading as it was declared along with
BLO_update_defaults_startup_blend making it seem these functions were
related.

In fact preference defaults don't need to be updated as is done for
startup.blend since an in-memory blend file isn't used.

Rename the function to match other versioning functions
called from readfile.c. Also add/update comments on these differences.

Commit Details:

Full Hash: b13459f9e585bcb0e4ba61e391e59a888f5042f2
Parent Commit: e255040
Lines Changed: +25, -13

8 Modified Paths:

/source/blender/blenloader/BLO_readfile.h (+4, -4) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/blenloader/intern/readfile.h (+3, -0) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+2, -2) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+2, -2) (Diff)
/source/blender/blenloader/intern/versioning_defaults.c (+7, -0) (Diff)
/source/blender/blenloader/intern/versioning_userdef.c (+5, -3) (Diff)
/source/blender/makesdna/intern/dna_defaults.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021