Blender Git Loki

Git Commits -> Revision 15a9579

Revision 15a9579 by Campbell Barton (master)
October 2, 2020, 21:25 (GMT)
Cleanup: centralize versioning

readfile.c's versioning function was only used for 2 variables.
Move versioning into versioning_userdef.c so everything
is done in one function.

Note: DNA_struct_elem_find checks have been replaced with checks for
the next released version.
This is harmless, as only old preferences saved between releases can
have their values overwritten.

Note: userdef versioning should be called from `do_versions_userdef`,
this will be done separately.

Commit Details:

Full Hash: 15a9579a03f1ca65df477a1a39dbaef572ff3e9f
Parent Commit: a03bd64
Lines Changed: +10, -17

2 Modified Paths:

/source/blender/blenloader/intern/readfile.c (+0, -14) (Diff)
/source/blender/blenloader/intern/versioning_userdef.c (+10, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021