Page MenuHome

No signal `tree.update` when a node is removed
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: GeForce GTX 660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 416.34

Blender Version
Broken: version: 2.83 (sub 13), branch: master, commit date: 2020-04-21 17:59, hash: rB13e3a1c53222

Short description of error
According description the method tree.update is calling whenever changes in a node editor was happened.
https://docs.blender.org/api/current/bpy.types.NodeTree.html#bpy.types.NodeTree.update
But if starting to create new node but pressing escape it won't cause calling the method.

Exact steps for others to reproduce the error

  • open the file:
  • run script / create custom node editor
  • open console,
  • open custom node editor
  • create new node (init method of the node and update method of the tree was called)
  • not pressing LMB press escape / remove node
  • free method of the node was called but update method of the node tree was not.