Blender Git Commit Log

Git Commits -> Revision 8726354

Revision 8726354 by Sebastian Parborg (master)
August 28, 2020, 12:55 (GMT)
Fix Rigidbody depsgraph passive and constraint transform relations.

We need to have transforms from passive objects if they are animated or
driven by parent relations. This is not immediately obvious as the
object transform matrix will still be available, it is just one frame
behind in some cases.

Fixed dependency cycles if there is a constraint between two rigid
bodies. Because bullet keeps track of its simulated bodies, we do not
need to supply objects transforms as bullet should already have them.

I need combine these two fixes because otherwise we will get depsgraph
warnings that nodes are missing that it expects to be there.

Reviewed By: Sergey, Jacques

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

Commit Details:

Full Hash: 8726354d465ae0930adcab9ba818414681cee077
Parent Commit: 0852ecd
Lines Changed: +39, -51

4 Modified Paths:

/source/blender/blenkernel/BKE_rigidbody.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/rigidbody.c (+18, -6) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+3, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+17, -44) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021