diff options
author | Ton Roosendaal <ton@blender.org> | 2006-08-15 17:30:06 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-08-15 17:30:06 +0400 |
commit | 73f44f6fbb4ddd2b466f0d540581d3e86b3fbe28 (patch) | |
tree | 6925f458f5c1f97866fcbdbc593471b920d30206 /source/blender/blenkernel/intern/depsgraph.c | |
parent | 816da5bb6f5854c477cf3ccfa80eb134fc3bbb64 (diff) |
Bugfix #4890
Driver relations for Constraints (in Actions, Armatures) were not in
depsgraph yet.
Diffstat (limited to 'source/blender/blenkernel/intern/depsgraph.c')
-rw-r--r-- | source/blender/blenkernel/intern/depsgraph.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/depsgraph.c b/source/blender/blenkernel/intern/depsgraph.c index a1b85ae4029..5847b913004 100644 --- a/source/blender/blenkernel/intern/depsgraph.c +++ b/source/blender/blenkernel/intern/depsgraph.c @@ -399,9 +399,13 @@ static void build_dag_object(DagForest *dag, DagNode *scenenode, Object *ob, int if(ob->action) { bActionChannel *chan; + bConstraintChannel *conchan; for (chan = ob->action->chanbase.first; chan; chan=chan->next){ if(chan->ipo) dag_add_driver_relation(chan->ipo, dag, node, 1); + for (conchan=chan->constraintChannels.first; conchan; conchan=conchan->next) + if(conchan->ipo) + dag_add_driver_relation(conchan->ipo, dag, node, 1); } } if(ob->nlastrips.first) { |