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:
authorJanne Karhu <jhkarh@gmail.com>2011-01-02 06:55:26 +0300
committerJanne Karhu <jhkarh@gmail.com>2011-01-02 06:55:26 +0300
commit9f88e0faebd4dbcf15c09e2f80144a056bdcc5c0 (patch)
tree752d05d6cfa3577fc82b8715a24aaf3f5c3149f3 /source/blender/blenloader
parent03d046ad4f1015368198f87de2037255fe7cd713 (diff)
Fix for [#25427] cloth or soft body crash un Undo
* Argh my bad, sorry about this! * Now only the actual data array is saved to avoid constant re-allocations, but no relations to active data are kept. * Also reverted Ton's quick fix for the crash as it's not needed anymore.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index fdac9753cdd..0dfdd46d17b 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -4984,15 +4984,6 @@ void lib_link_screen_restore(Main *newmain, bScreen *curscreen, Scene *curscene)
ssound->sound= restore_pointer_by_name(newmain, (ID *)ssound->sound, 1);
}
- else if(sl->spacetype==SPACE_TIME) {
- SpaceTime *stime= (SpaceTime *)sl;
- SpaceTimeCache *stc;
-
- /* XXX bad linking of internal object data to space */
- for (stc= stime->caches.first; stc; stc=stc->next)
- MEM_freeN(stc->array);
- BLI_freelistN(&stime->caches);
- }
else if(sl->spacetype==SPACE_NODE) {
SpaceNode *snode= (SpaceNode *)sl;