diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2022-05-16 17:41:50 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2022-05-16 19:16:18 +0300 |
commit | a2dacefb46363cac5abd7d0d5dcbf9ff2764bef7 (patch) | |
tree | 909ae794f5f878532c9cbc84e664bdc9e4f36b41 /release | |
parent | 00af3e9472f3a26c3c0faf8ee3fe5d7f3b8d6b0f (diff) |
Fix T96289: Crash when accessing mesh via `ob.data` in a driver
Fix a crash when a driver variable targets an object and uses
`data.shape_keys.key["name"].value` in its expression.
The fix consists of adding an extra relation from the targeted object's
`GEOMETRY` component to the driver evaluation. This ensures that its
`data` pointer has been evaluated by the depsgraph and is safe to
follow.
This also resolves the concern raised on rB56407432a6aa.
Reviewed by: brecht
Differential Revision: https://developer.blender.org/D14956
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions