Page MenuHome

Driver Referencing A Custom Property In Light Object Data Does Not Get Updated On Change
Closed, ResolvedPublic

Description

System Information
Operating system: Windows 10 64 bit
Graphics card: Nvidia GTX 750 Ti

Blender Version
Broken: blender-2.80.0-git.81b68f7279cd-windows64

Short description of error
When a driver references a Single Property that is stored inside a light's object data, the driver's value is not updated when the property is changed.
(If the property is keyframed, however, it works. It also works for rendering.)

Exact steps for others to reproduce the error


Scene Description:
The light on the left (Light.Object) has its power controlled by a driver reading from a custom property (OnObject) in the object itself.
The light on the right (Light.Data) has its power controlled by a driver reading from a custom property (OnData) in the light's object data.

Steps:

  1. Set the viewport to "Rendered".
  2. Change the value of the property OnObject in Light.Object. The (green) light correctly turns on / off.
  3. Change the value of the property OnData in Light.Data's object data. The (red) light does not respond. I'd expect it to update when the value changes.