Blender Git Commit Log

Git Commits -> Revision d43e3f3

Revision d43e3f3 by Sybren A. Stüvel (master)
October 6, 2020, 15:49 (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: d43e3f34d26daca4f2b0f4c524a35a98cc85d1ce
Parent Commit: a2b1842
Lines Changed: +6, -1

1 Modified Path:

/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+6, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021