diff options
author | Janne Karhu <jhkarh@gmail.com> | 2010-12-21 23:18:43 +0300 |
---|---|---|
committer | Janne Karhu <jhkarh@gmail.com> | 2010-12-21 23:18:43 +0300 |
commit | 6a79de7698efe45a79ff788edad8ef75da51ca3d (patch) | |
tree | 8268b305b2ae4d3a82b809cea67f6aacd06bc5ce /source/blender/makesdna/DNA_space_types.h | |
parent | aeba7032e6fe3f70ede89b24cd9e6d098adb993b (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.h | 10 |
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 { |