Blender Git Loki

Git Commits -> Revision 1d6c2f2

Revision 1d6c2f2 by Matt Ebb (master)
June 22, 2010, 02:29 (GMT)
Timeline addition: Display cached frames

This started off doing pointcache debugging but it's also very useful for users too.
Previously it was very hard to see the state of the system when you're working caches
such as physics point cache - is it baked? which frames are cached? is it out of date?

Now, for better feedback, cached frames are drawn for the active object at the bottom
of the timeline - a semitransparent area shows the entire cache extents, and more
solid blocks on top show the frames that are cached. Darker versions indicate it's
using a disk cache.

It can be disabled in general in the timeline View -> Caches menu, or by each individual
system that can be shown.

There's still a bit to do on this, behaviour needs to be clarified still eg. deciding what
shows when it's out of date, or when it's been played back but not cached, etc. etc.
Part of this is due to a lack of definition in the point cache system itself, so we should
try and clean up/clarify this behaviour and what it means to users, at the same time.

Also would be interested in extending this to other caches such as fluid cache,
sequencer memory cache etc. in the future, too.

Commit Details:

Full Hash: 1d6c2f214be060f54457d65e8afdf7df8fe93b92
SVN Revision: 29604
Parent Commit: 6a1d8d8
Lines Changed: +367, -27

12 Modified Paths:

/release/scripts/ui/space_time.py (+23, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+10, -3) (Diff)
/source/blender/editors/include/ED_screen.h (+2, -2) (Diff)
/source/blender/editors/include/ED_screen_types.h (+1, -0) (Diff)
/source/blender/editors/physics/particle_object.c (+16, -13) (Diff)
/source/blender/editors/physics/physics_pointcache.c (+13, -0) (Diff)
/source/blender/editors/screen/screen_edit.c (+4, -2) (Diff)
/source/blender/editors/screen/screen_ops.c (+20, -4) (Diff)
/source/blender/editors/space_time/space_time.c (+229, -2) (Diff)
/source/blender/makesdna/DNA_space_types.h (+21, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+27, -1) (Diff)
/source/blender/windowmanager/WM_types.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021