Page MenuHome

Fix T76897: Lamp Power Not Updating from Driver
ClosedPublic

Authored by Sybren A. Stüvel (sybren) on Fri, May 22, 6:19 PM.

Details

Summary

The issue was that lamps were not tagged with ID_RECALC_SHADING when they were updated from drivers. As a result, Cycles considered the lamp as unchanged. This is resolved by having a (seemingly non-functional) callback in a new LIGHT_UPDATE depsgraph node.

This patch unconditionally adds the LIGHT_UPDATE node + the relation from the lamp's PARAMETERS node.

Diff Detail

Repository
rB Blender

Event Timeline

Sybren A. Stüvel (sybren) requested review of this revision.Fri, May 22, 6:19 PM
This revision is now accepted and ready to land.Fri, May 22, 6:31 PM