Blender Git Loki
Git Commits -> Revision 4707c86
Revision 4707c86 by Philipp Oeser (master) May 15, 2021, 00:32 (GMT) |
Fix T88188: Keyframing Vertex Mass in Cloth Simulation doesn't have any effect The way it is now, `ClothVertex->mass` is setup once for the clothObject and then reused if it already exists [so does not change across frames/ steps] which happens in`cloth_from_object` / `do_init_cloth`, where `SIM_cloth_solver_init` / `SIM_mass_spring_set_vertex_mass` are called and set up masses in `Implicit_Data`. Seems possible to update `ClothVertex->mass` every step in `do_step_cloth`, however it seems more involved to update the masses in `Implicit_Data` there as well. The masses from `Implicit_Data` are accessed in many places, so it would be mandatory to have these masses kept up-to-date (and even then it is unclear if the solver was designed to work with these animated or if there are assumptions about this being stable across the sim). So propose to remove the (broken/not implemented) animation capabilities on the property instead. Maniphest Tasks: T88188 Differential Revision: https://developer.blender.org/D11225 |
Commit Details:
Full Hash: 4707c8617951cd3f68847216f8de8aa1029c3348
Parent Commit: baf7f78
Lines Changed: +1, -0
1 Modified Path:
/source/blender/makesrna/intern/rna_cloth.c (+1, -0) (Diff)