diff options
author | Ton Roosendaal <ton@blender.org> | 2008-03-30 22:08:55 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-03-30 22:08:55 +0400 |
commit | bdfe2a6e0a841eb5b0e31dffed52483addc8223f (patch) | |
tree | db79c5bda816dc0dd2ddd930ef5f485840eb3d05 /source/blender/src/usiblender.c | |
parent | e433465fc60b0f215410ac3fc7775b74a9562974 (diff) |
Fix for change in default behaviour of adding objects: (commit oct 2007)
- The new default remains to add not aligned, not in editmode.
But, this is only for new users (in .B.blend default)
- It's nicer we don't change this for everyone automatic.
Means: people who like the new options have to set the buttons in user
menu and save .B.blend.
Diffstat (limited to 'source/blender/src/usiblender.c')
-rw-r--r-- | source/blender/src/usiblender.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/usiblender.c b/source/blender/src/usiblender.c index e74316bbb10..87ab553a5bb 100644 --- a/source/blender/src/usiblender.c +++ b/source/blender/src/usiblender.c @@ -475,6 +475,9 @@ static void init_userdef_file(void) } } } + if ((G.main->versionfile < 245) || (G.main->versionfile == 245 && G.main->subversionfile < 16)) { + U.flag |= USER_ADD_VIEWALIGNED|USER_ADD_EDITMODE; + } /* GL Texture Garbage Collection (variable abused above!) */ if (U.textimeout == 0) { |