forked from bartvdbraak/blender
The UserPrefs Default was never getting initialised correctly, so new scenes would not get the default AutoKeying mode set correctly ("add but off"). I remembered fixing some problems like this before, but it seems that fix only fixed old files vs the user-prefs for new scenes.
This commit is contained in:
parent
4b40d73bfb
commit
a7e86bc30d
@ -998,6 +998,10 @@ void init_userdef_do_versions(void)
|
||||
|
||||
strcpy(U.tempdir, tmp?tmp:"/tmp/");
|
||||
}
|
||||
if (U.autokey_mode == 0) {
|
||||
/* 'add/replace' but not on */
|
||||
U.autokey_mode = 2;
|
||||
}
|
||||
if (U.savetime <= 0) {
|
||||
U.savetime = 1;
|
||||
// XXX error("startup.blend is buggy, please consider removing it.\n");
|
||||
|
Loading…
Reference in New Issue
Block a user