Blender Git Loki

Git Commits -> Revision 71d53ab

Revision 71d53ab by Sybren A. Stüvel (master)
January 24, 2020, 11:16 (GMT)
Fix T73001: Shader Node with driver not updating when animated

When there are ID properties on an object, and these are animated and
used by a driver, the depsgraph has proper connections between ACTION ?
ID PROPERTY ? DRIVER.

When these properties are defined on a mesh, however, the depsgraph
relations are incorrectly created between GEOMETRY ? PROPERTIES_EXIT ?
DRIVER (because it's assumed that 'source = ENTRY' implies 'geometry').

This patch solves this by first checking whether the targeted property
is an ID property and handling it accordingly. This also made it
possible to remove some special cases from pose bone relations.

Maniphest Tasks: T73001

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D6571

Commit Details:

Full Hash: 71d53ab4654c3abb9bd548b324f8c9ca34250a9b
Parent Commit: 316d2c1
Lines Changed: +35, -45

1 Modified Path:

/source/blender/depsgraph/intern/builder/deg_builder_rna.cc (+35, -45) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021