diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-01-24 14:15:12 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-01-24 14:16:33 +0300 |
commit | 71d53ab4654c3abb9bd548b324f8c9ca34250a9b (patch) | |
tree | e12be4dc45223f71cb9f51fb2ce43d872102f595 /source/blender/usd | |
parent | 316d2c15220d35a9b74b15f940c45ce8d8a09288 (diff) |
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
Diffstat (limited to 'source/blender/usd')
0 files changed, 0 insertions, 0 deletions