Blender Git Loki

Git Commits -> Revision 80811aa

June 14, 2021, 14:34 (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: 80811aa581361b3a03df9c1b84af70218847f188
Parent Commit: 7a87b46
Committed By: Bastien Montagne
Lines Changed: +7, -2

1 Modified Path:

/intern/cycles/blender/blender_light.cpp (+7, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021