Depsgraph: Fix wrong relations built for drivers
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 4 Dec 2017 16:37:21 +0000 (17:37 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 6 Dec 2017 09:21:33 +0000 (10:21 +0100)
commit070c735b139bfa07cf667a26f788aecc60e7d95d
treeb5a1ac2e7690dfaa7fd28207ae9c4f260412d0a8
parentf8fd8b0744104877a579ab4b603e2a8fb596e503
Depsgraph: Fix wrong relations built for drivers

When target was changed from bone to regular object, new dependency graph was
still trying to build relations as if driver was using bone.
source/blender/depsgraph/intern/builder/deg_builder_relations.cc