diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-10-06 18:49:57 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-10-06 18:49:57 +0300 |
commit | d43e3f34d26daca4f2b0f4c524a35a98cc85d1ce (patch) | |
tree | de734e384142dabc1c0b6d77b314507ed2370e90 /source/blender/editors/sculpt_paint/paint_mask.c | |
parent | a2b184235892650102f1766015961a959518a9a1 (diff) |
Fix T81218: Crash in pose mode using a driver on bendy bone Segment
The example file in T81218 has a driver that maps a bone's X-location to
the number of BBone segments. This caused a dependency cycle, which
resulted in bad thread serialisation, which caused the crash.
This patch breaks the dependency cycle `BONE_LOCAL` →
`DRIVER(bones["Bone"].bbone_segments)` → `BONE_LOCAL`. The 'Driver Data'
relation now points to `BONE_SEGMENTS` when the driven property starts
with `bbone_`.
Differential Revision: https://developer.blender.org/D9122
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_mask.c')
0 files changed, 0 insertions, 0 deletions