Blender Git Loki

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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021