Blender Git Loki
Git Commits -> Revision 2f5ef12
Revision 2f5ef12 by Lukas Toenne (alembic_pointcache) December 8, 2013, 08:02 (GMT) |
Moved object/modifier/sim resets out of the BKE_ptcache_id_reset function. This is a design cleanup, the point cache methods should only write to the DNA when retrieving state data. There were already a number of cases where such resets occured outside of this function (such as with rigid body worlds or smoke sims). The BKE_ptcache_object_reset function still exists and includes these reset calls, but there the cache user data types are accessed directly. |
Commit Details:
Full Hash: 2f5ef128b911e8769b4f2cc0c88c1678129de24f
Parent Commit: 44057bd
Lines Changed: +39, -26
7 Modified Paths:
/source/blender/blenkernel/intern/cloth.c (+6, -1) (Diff)
/source/blender/blenkernel/intern/dynamicpaint.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+22, -19) (Diff)
/source/blender/blenkernel/intern/rigidbody.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/smoke.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/softbody.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/dynamicpaint.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+22, -19) (Diff)
/source/blender/blenkernel/intern/rigidbody.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/smoke.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/softbody.c (+4, -4) (Diff)