Blender Git Loki
Git Commits -> Revision cb25651
Revision cb25651 by Sybren A. Stüvel (master) August 13, 2020, 11:56 (GMT) |
Fix T65148: Drivers can't access shape keys It was impossible for drivers to use shape key properties, modifiers generate a new mesh. After mesh evaluation the shape keys are no longer necessary, and because of this the `key` pointer was not copied. As drivers work on evaluated data, however, they do need this `key` pointer. This commit makes the `key` pointer available in evaluated meshes, but this is somewhat dangerous. There was an explicit reason why the key on result was kept at null pointer: to have the evaluated mesh in a consistent state. Assigning this pointer makes it potentially inconsistent, as the evaluated mesh and the original shape key may have different topologies. Reviewed By: sergey Differential Revision: https://developer.blender.org/D7785 |
Commit Details:
Full Hash: cb2565195e72ee4dc5c0b53b7cd5037b2169d55f
Parent Commit: 46aa302
Lines Changed: +19, -3