Blender Version
Broken: 2.80, 50ccbe6bb233, master
Short description of error
When a property of a custom node is edited, the updates list of the depsgraph does not contain any flagged datablocks.
Exact steps for others to reproduce the error
I wrote a small addon that shows the problem and I created a .blend with a setup for reproducing it:
- Open the .blend above
- Install and enable the addon
- Start a viewport render (viewport shading: rendered)
- Modify the "testprop" property of the node and check the console messages
What is printed in the console
A lot of stuff is flagged as updated (including material and nodetree), however no actual datablocks are in the depsgraph.updates list.
--- view update --- ID Type updated: LIGHT ID Type updated: MATERIAL ID Type updated: NODETREE ID Type updated: SCENE ID Type updated: TEXTURE ID Type updated: WORLD 0 updated datablocks
What I would expect
Something like this:
--- view update ---
ID Type updated: MATERIAL
ID Type updated: NODETREE
Datablock updated: <bpy_struct, Material("Material")>
Datablock updated: <bpy_struct, NodeTree("NodeTree")>
2 updated datablocks