Blender Git Commit Log

Git Commits -> Revision 079fc65

Revision 079fc65 by Sybren A. Stüvel (master)
May 4, 2020, 13:29 (GMT)
T76121 Driver depending on animated modifier property does not update

This fixes an issue where an animated modifier property that's used as
variable in a driver wouldn't animate that driver's value.

Building the relations for the driver target creates the relation
`PARAMETERS_EVAL` ? `DRIVER(variable)`. Building the relations for the
FCurve targeting the modifier property creates the relation
`ANIMATION_EXIT` ? `GEOMETRY_EVAL_INIT`.

This means that there is NOT a relation `ANIMATION_EXIT` ?
`PARAMETERS_EVAL`, and as a result, the driver is not properly updated
when its variable reads animated data. This is resolved in this commit
by adding the missing relation.

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

Commit Details:

Full Hash: 079fc65e0a306ff4bfc7d03a121d164ab67d0cb3
Parent Commit: 000fdd8
Lines Changed: +6, -0

1 Modified Path:

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