Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2006-11-10 04:57:06 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2006-11-10 04:57:06 +0300
commit7c6ffecfffbfc8165fd31d024fc74c10f664cac0 (patch)
tree47fd969296efb45921aba34b64aa3948da9f0844 /source/blender/blenloader
parent740e3233e0ddd76ec3caa2dd78760e88351a41b5 (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.c3
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]);