Depsgraph: Fix missing relation from node tree to light
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 4 Jan 2019 15:17:53 +0000 (16:17 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 4 Jan 2019 15:17:53 +0000 (16:17 +0100)
commitdfc0d3755b9bd4ce34a8384349ab28fe1c95b8c6
tree9a18fa3073f5031ad6b1a6a173880005a55265ed
parentb69cbe7d8759e604e34d81a9ddc90d8167751f33
Depsgraph: Fix missing relation from node tree to light

Was only happening when lamp had driver on the Light datablock.

Reported by Dalai Felinto in T60137.
source/blender/depsgraph/intern/builder/deg_builder_nodes.cc