System Information
Operating system: Windows-10-10.0.19042-SP0 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 461.40
Blender Version
Broken: version: 3.1.0, current master
Affected by rB7e712b2d6a0d257d272ed35622b41d06274af8df
Short description of error
If create custom node tree with name "CustomNodeTree" and try update node tree by script: bpy.data.node_groups["CustomNodeTree"].interface_update(bpy.context) - tree not updated. In version Blender 3.0 function works good
Exact steps for others to reproduce the error
- Download archive batch_render_nodes.zip
- Install zip-archive add-on in Blender 3.0 and Blender 3.1
- Download test file Batch_Render_Nodes_UPDATE_TREE_TEST.blend
- Open test file in Blender 3.0
- Try change sockets values
- Sockets output values updated
- Open same test file in Blender 3.1
- Try change sockets values
- Sockets output values not updated
For update sockets and all node tree i used function https://docs.blender.org/api/current/bpy.types.NodeTree.html#bpy.types.NodeTree.interface_update
| 3.0.0 | 3.1.0 |