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>2010-12-21 23:18:43 +0300
committerJanne Karhu <jhkarh@gmail.com>2010-12-21 23:18:43 +0300
commit6a79de7698efe45a79ff788edad8ef75da51ca3d (patch)
tree8268b305b2ae4d3a82b809cea67f6aacd06bc5ce /source/blender/makesdna/DNA_space_types.h
parentaeba7032e6fe3f70ede89b24cd9e6d098adb993b (diff)
Fix for [#25325] Timeline doesn't show status of baked psys until frame is advanced
* Timeline didn't listen to file read notifier, so the pointcache frames indicator didn't get updated. * Also added listens to particle & modifier (cloth, sb & smoke) notifiers as changes that cleared a pointcache weren't shown directly in the timeline either. * The timeline display was also always one frame behind the actual state, since the notifiers are handled before the actual dynamics are calculated. ** This is now fixed too, by creating the actual drawn data always at drawtime.
Diffstat (limited to 'source/blender/makesdna/DNA_space_types.h')
-rw-r--r--source/blender/makesdna/DNA_space_types.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h
index 46e8173baa1..4fb00a1988b 100644
--- a/source/blender/makesdna/DNA_space_types.h
+++ b/source/blender/makesdna/DNA_space_types.h
@@ -359,13 +359,11 @@ typedef struct SpaceScript {
typedef struct SpaceTimeCache {
struct SpaceTimeCache *next, *prev;
- int type;
- int flag;
-
+
+ struct PointCache *cache;
float *array;
- int len;
- int startframe, endframe;
- int ok;
+
+ int type, len;
} SpaceTimeCache;
typedef struct SpaceTime {