diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2006-11-10 04:57:06 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2006-11-10 04:57:06 +0300 |
commit | 7c6ffecfffbfc8165fd31d024fc74c10f664cac0 (patch) | |
tree | 47fd969296efb45921aba34b64aa3948da9f0844 /source/blender/blenloader | |
parent | 740e3233e0ddd76ec3caa2dd78760e88351a41b5 (diff) |
Fixed bug #5174, Crash on sculpt mode undo
The fix adds support for storing edge/face/partial visiblity data to the sculpt
mode undo data. (This may also be useful for multires.)
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 8a1612695e3..594bfba0e92 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -2835,8 +2835,7 @@ static void direct_link_scene(FileData *fd, Scene *sce) sce->sculptdata.vertex_users= NULL; sce->sculptdata.texrndr= NULL; sce->sculptdata.propset= 0; - sce->sculptdata.undo_cur= NULL; - sce->sculptdata.undo.first= sce->sculptdata.undo.last= NULL; + sce->sculptdata.undo= NULL; /* SculptData textures */ for(a=0; a<MAX_MTEX; ++a) sce->sculptdata.mtex[a]= newdataadr(fd,sce->sculptdata.mtex[a]); |