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/makesdna/DNA_space_types.h
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/makesdna/DNA_space_types.h')
-rw-r--r--source/blender/makesdna/DNA_space_types.h6
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 {