Depsgraph: Use build_animation() to build relations to animated properties
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 5 Dec 2017 11:57:01 +0000 (12:57 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 6 Dec 2017 09:21:33 +0000 (10:21 +0100)
commitabc55bf84a236f3e591d34a480a6fe0f8d3c7688
treecaa1de3d610288cff65031cc36edd8e32d07c387
parent4a99cc5850bff6033080a27d81e73f3355af996a
Depsgraph: Use build_animation() to build relations to animated properties

Before that it was up to lots of other places to keep track on whether
something is to be dependent on time or not. Was annoying, and unreliable,
and fragile.

This commit avoids hacks in object builder. Other areas will be adopted
soon.
source/blender/depsgraph/intern/builder/deg_builder_relations.cc