Fix T52209: New Depsgraph - animated follow curve constraint sometimes freaks out when the curve has a parent
This commit is contained in:
parent
f3e02eb32e
commit
9f40153094
Notes:
blender-bot
2023-02-14 12:01:57 +01:00
Referenced by issue #52209, New Depsgraph - animated follow curve constraint sometimes freaks out when the curve has a parent
|
@ -752,6 +752,9 @@ void DepsgraphRelationBuilder::build_constraints(Scene *scene, ID *id,
|
|||
/* These constraints require path geometry data. */
|
||||
ComponentKey target_key(&ct->tar->id, DEG_NODE_TYPE_GEOMETRY);
|
||||
add_relation(target_key, constraint_op_key, cti->name);
|
||||
ComponentKey target_transform_key(&ct->tar->id,
|
||||
DEG_NODE_TYPE_TRANSFORM);
|
||||
add_relation(target_transform_key, constraint_op_key, cti->name);
|
||||
}
|
||||
else if ((ct->tar->type == OB_ARMATURE) && (ct->subtarget[0])) {
|
||||
/* bone */
|
||||
|
|
Loading…
Reference in New Issue