Blender Git Commit Log
Git Commits -> Revision 41bb054
Revision 41bb054 by Sybren A. Stüvel (master) May 25, 2020, 08:07 (GMT) |
Fix T76897: Lamp Power Not Updating from Driver 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. Differential Revision: https://developer.blender.org/D7822 Reviewed by: brecht |
Commit Details:
Full Hash: 41bb0548b0c1ac62d30cf14fca371b220e40f72e
Parent Commit: 9b9f84b
Lines Changed: +27, -1
6 Modified Paths:
/source/blender/blenkernel/BKE_light.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/light.c (+7, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+7, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+7, -1) (Diff)
/source/blender/depsgraph/intern/node/deg_node_operation.cc (+2, -0) (Diff)
/source/blender/depsgraph/intern/node/deg_node_operation.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/light.c (+7, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+7, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+7, -1) (Diff)
/source/blender/depsgraph/intern/node/deg_node_operation.cc (+2, -0) (Diff)
/source/blender/depsgraph/intern/node/deg_node_operation.h (+1, -0) (Diff)