diff options
author | Ton Roosendaal <ton@blender.org> | 2004-11-13 01:16:23 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-11-13 01:16:23 +0300 |
commit | 7fae7b0cf95c2d95bd80a506002b7598500e497f (patch) | |
tree | 102f402cfa1e0067a2515ebcdab35327afaeb7bd /source/blender/src/usiblender.c | |
parent | ccc07d249abc42c3ea7a0c95823eabd1fe9dff60 (diff) |
- Disabled printf for undo (still works in debug mode blender -d)
- Made global undo to set default on 'old' files (2.34 too, so wait
with saving a .B.blend without glob undo until release is 2.35)
Diffstat (limited to 'source/blender/src/usiblender.c')
-rw-r--r-- | source/blender/src/usiblender.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/src/usiblender.c b/source/blender/src/usiblender.c index 13647fdbd90..cbe2afab524 100644 --- a/source/blender/src/usiblender.c +++ b/source/blender/src/usiblender.c @@ -230,10 +230,12 @@ int BIF_read_homefile(void) U.vrmlflag= USER_VRML_LAYERS; } - /* added seam, normal color */ + /* added seam, normal color, undo */ if (G.main->versionfile <= 234) { bTheme *btheme; + U.uiflag |= USER_GLOBALUNDO; + for(btheme= U.themes.first; btheme; btheme= btheme->next) { /* check for alpha==0 is safe, then color was never set */ if(btheme->tv3d.edge_seam[3]==0) { |