Blender Git Loki
Git Commits -> Revision 342a6b5
Revision 342a6b5 by Jacques Lucke (master) August 10, 2020, 08:54 (GMT) |
Fix T77685: object transforms from rigid body simulation are ignored by modifiers This does not fix all the cases in the bug report, because there are multiple different issues. Only the first two are fixed. The third is probably a known issue for now. Before this patch, the rigid body simulation was always done after modifiers are evaluated, because to perform the simulation, the final geometry of the object was required. However, the geometry is not required in all cases, depending on the selected collisions shape. This patch changes it so that when the simulation does not need the evaluated geometry, the simulation will be done before the modifiers are evaluated. This gives the modifiers access to the simulated positions. When the rigid body simulation does depend on the evaluated geometry, it will still be performed after modifiers are evaluated. The simulation will be performed after modifiers are evaluated, iff the collision shape is "Convex Hull" or "Mesh" and the source is set to "Deform" or "Final". Reviewers: sergey Differential Revision: https://developer.blender.org/D8487 |
Commit Details:
Full Hash: 342a6b5f9339c31931f4d2c87d9f47b88307e8cc
Parent Commit: f15d33d
Lines Changed: +33, -4