Cloth: implement animated vertex groups for pinning (Weight Keys)
AcceptedPublic

Authored by Luca Rood (LucaRood) on Tue, Feb 28, 8:00 AM.

Details

Summary

This adds a "Combined Weights" checkbox to the cloth pin settings, which allows the use of the "Weight Keys" feature with the cloth pins.

This depends on D2407 and D2514. Also, this patch enables actual testing of the "Weight Keys" feature, in real use cases.

Also removed unnecessary cloth re-initialization.
Cloth was being re-initialized whenever pinning settings were changed.
This has been necessary in the past, as pins were only computed during initialization, but ever since animated vertex weight support was added, by having pins recalculate on every step, this re-initialization has become unnecessary.

Diff Detail

Repository
rB Blender

From the code side seems fine. But before going online we should have a documentation available online, which we can reference from the commit message. But reviewing that is out of the scope of dev.b.o so giving it an accepted state.

This revision is now accepted and ready to land.Sun, Mar 5, 4:47 PM