Baking for dupligroup & linked library objects
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 30 Mar 2010 12:23:13 +0000 (12:23 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 30 Mar 2010 12:23:13 +0000 (12:23 +0000)
commit515592438f0f5665cadbd12c7698554bd2b89146
treeab1e07b6093f380661b9fca4ebf3df90e0705055
parent71446eea573db3ac6bac5f297c0655acbeada67c
Baking for dupligroup & linked library objects
- library data allows pointcache writing (hard to know how this should work long term so ifdef'd for now)
- changing the frame now updates the dupligroup objects
- BKE_ptcache_ids_from_object(), option to get the id's from duplis

note! scene_update_tagged() is called from the main() loop, and runs BKE_ptcache_quick_cache_all(), this could become a performance issue, especially with duplis, should probably not call BKE_ptcache_quick_cache_all() all the time, even when not playing back animation.
(commits 27856 by Campbell from render25 branch)
source/blender/blenkernel/BKE_pointcache.h
source/blender/blenkernel/intern/pointcache.c
source/blender/blenkernel/intern/scene.c
source/blender/editors/object/object_edit.c
source/blender/editors/physics/particle_edit.c
source/blender/editors/physics/physics_pointcache.c
source/blender/editors/transform/transform_conversions.c
source/blender/makesrna/intern/rna_object_force.c