diff options
author | Janne Karhu <jhkarh@gmail.com> | 2011-01-02 06:55:26 +0300 |
---|---|---|
committer | Janne Karhu <jhkarh@gmail.com> | 2011-01-02 06:55:26 +0300 |
commit | 9f88e0faebd4dbcf15c09e2f80144a056bdcc5c0 (patch) | |
tree | 752d05d6cfa3577fc82b8715a24aaf3f5c3149f3 /source/blender/makesdna/DNA_space_types.h | |
parent | 03d046ad4f1015368198f87de2037255fe7cd713 (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/makesdna/DNA_space_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_space_types.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h index 4fb00a1988b..271e616cf10 100644 --- a/source/blender/makesdna/DNA_space_types.h +++ b/source/blender/makesdna/DNA_space_types.h @@ -357,13 +357,11 @@ typedef struct SpaceScript { void *but_refs; } SpaceScript; +# /* Only store the data array in the cache to avoid constant reallocation. */ +# /* No need to store when saved. */ typedef struct SpaceTimeCache { struct SpaceTimeCache *next, *prev; - - struct PointCache *cache; float *array; - - int type, len; } SpaceTimeCache; typedef struct SpaceTime { |