Blender Git Loki

Git Commits -> Revision 9cd6b03

Revision 9cd6b03 by Luca Rood (master)
June 30, 2017, 13:58 (GMT)
Fix T50230: Rigid Body simulation shouldn't step when time is beyond cached area

This makes the last time (`ltime`) stored in the rigid body world (`rbw`)
only be updated once a simulation step actually occurs, this prevents
another simulation step from being solved unless the current time is
exactly one frame after the last cached frame. Thus this prevents the
formation of gaps in the cache, such as seen in T50230.

Reviewers: mont29, sergey, angavrilov

Tags: #physics

Maniphest Tasks: T50230

Differential Revision: https://developer.blender.org/D2458

Commit Details:

Full Hash: 9cd6b03187b91bb2c267a45eac3cee7738e0e220
Parent Commit: 76eefa5
Lines Changed: +1, -6

1 Modified Path:

/source/blender/blenkernel/intern/rigidbody.c (+1, -6) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021