Blender Git Commit Log

Git Commits -> Revision b313525

Revision b313525 by Kévin Dietrich (master)
June 12, 2021, 02:13 (GMT)
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

Commit Details:

Full Hash: b313525c1bd031792dbfb82979eb62d9a927b111
Parent Commit: d75e45d
Lines Changed: +7, -2

1 Modified Path:

/intern/cycles/blender/blender_light.cpp (+7, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021