forked from blender/blender
main sync #3
@ -128,7 +128,7 @@ const UserDef U_default = {
|
||||
.pad_rot_angle = 15,
|
||||
.rvisize = 25,
|
||||
.rvibright = 8,
|
||||
.recent_files = 10,
|
||||
.recent_files = 20,
|
||||
.smooth_viewtx = 200,
|
||||
.glreslimit = 0,
|
||||
.color_picker_type = USER_CP_CIRCLE_HSV,
|
||||
|
@ -25,7 +25,7 @@ extern "C" {
|
||||
|
||||
/* Blender file format version. */
|
||||
#define BLENDER_FILE_VERSION BLENDER_VERSION
|
||||
#define BLENDER_FILE_SUBVERSION 3
|
||||
#define BLENDER_FILE_SUBVERSION 4
|
||||
|
||||
/* Minimum Blender version that supports reading file written with the current
|
||||
* version. Older Blender versions will test this and show a warning if the file
|
||||
|
@ -791,6 +791,13 @@ void blo_do_versions_userdef(UserDef *userdef)
|
||||
userdef->animation_flag |= USER_ANIM_HIGH_QUALITY_DRAWING;
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(306, 4)) {
|
||||
/* Increase the number of recently-used files if using the old default value. */
|
||||
if (userdef->recent_files == 10) {
|
||||
userdef->recent_files = 20;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Versioning code until next subversion bump goes here.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user