rigidbody: Add point cache support
authorSergej Reich <sergej.reich@googlemail.com>
Wed, 23 Jan 2013 05:56:34 +0000 (05:56 +0000)
committerSergej Reich <sergej.reich@googlemail.com>
Wed, 23 Jan 2013 05:56:34 +0000 (05:56 +0000)
commit089cf12435dfbc4b934a73b73ecd617b27ac678d
treee2c8b7b187694ca7ae4640b76634ddcba5644600
parentfc377c17e3d4803ef4db7a72daae629a322ffde8
rigidbody: Add point cache support

Add read/write/interpolate functions.

In order to get rigid body point cache id from object it's now required to pass the
scene to BKE_ptcache_ids_from_object().

Rigid body cache is drawn in the orange color of the bullet logo.
12 files changed:
release/scripts/startup/bl_ui/space_time.py
source/blender/blenkernel/BKE_pointcache.h
source/blender/blenkernel/intern/pointcache.c
source/blender/blenkernel/intern/rigidbody.c
source/blender/blenloader/intern/readfile.c
source/blender/blenloader/intern/writefile.c
source/blender/editors/object/object_edit.c
source/blender/editors/space_time/space_time.c
source/blender/makesdna/DNA_rigidbody_types.h
source/blender/makesdna/DNA_space_types.h
source/blender/makesrna/intern/rna_rigidbody.c
source/blender/makesrna/intern/rna_space.c