Blender Git Loki
Git Commits -> Revision f7c78b1
Revision f7c78b1 by Sybren A. Stüvel (temp-T81218-bbone-segments-driver-crash) October 6, 2020, 14:50 (GMT) |
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 |
Commit Details:
Full Hash: f7c78b1c7c1f6aceeb5e63e73e1ef9d841e9e2df
Parent Commit: 4bb15c8
Lines Changed: +6, -1
1 Modified Path:
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+6, -1) (Diff)