diff options
author | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2021-06-08 11:17:07 +0300 |
---|---|---|
committer | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2021-06-12 05:13:43 +0300 |
commit | b313525c1bd031792dbfb82979eb62d9a927b111 (patch) | |
tree | 05db66b26e74a73e987669b651fa641d51e1d76e /source/blender/functions/intern | |
parent | d75e45d10cbf7d93742f8c746cdb61de32edb42b (diff) |
Fix T88515: Cycles does not update light transform from linked collections
When moving a linked collection, we seem to only receive a depsgraph update
for an empty object so the Blender synchronization cannot discriminate it
and tag the object(s) (light or geometry) for an update through
id_map.set_recalc.
This missing transform update only affects lights since we do not check
manually if the transformations were modified like we do for objects.
To fix this, add a check to see if the transformation is different provided
that a light was already created.
Reviewed By: brecht
Maniphest Tasks: T88515
Differential Revision: https://developer.blender.org/D11574
Diffstat (limited to 'source/blender/functions/intern')
0 files changed, 0 insertions, 0 deletions