Fix T45240: New depsgraph ignores animation applied on the curve data
This commit is contained in:
parent
21db9fff12
commit
6510e40500
Notes:
blender-bot
2023-02-14 08:56:52 +01:00
Referenced by issue #45240, New Depsgraph: 'parent to curve' not working ('animation/pathJumper.blend' regression file)
|
@ -1690,6 +1690,10 @@ void DepsgraphRelationBuilder::build_obdata_geom(Main *bmain, Scene *scene, Obje
|
|||
ComponentKey parameters_key(obdata, DEPSNODE_TYPE_PARAMETERS);
|
||||
add_relation(animation_key, parameters_key,
|
||||
DEPSREL_TYPE_COMPONENT_ORDER, "Geom Parameters");
|
||||
/* Evaluation usually depends on animation.
|
||||
* TODO(sergey): Need to re-hook it after granular update is implemented..
|
||||
*/
|
||||
add_relation(animation_key, obdata_geom_eval_key, DEPSREL_TYPE_GEOMETRY_EVAL, "Animation");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue