Page MenuHome

Ungroup Node Groups doesn't update its user count
Confirmed, NormalPublicBUG

Description

Blender Version
Broken: version: 2.83 (sub 8), branch: master, commit date: 2020-03-12 00:33, hash: rB8751af6d1902
Worked: apparently never

Short description of error
Unlike deleting a node group, ungroup they don't decrease their User Count.

Exact steps for others to reproduce the error

  • Open attached file
  • Duplicate the NodeGroup (See the user count increase to 2).
  • Ungroup the NodeGroup (Ctrl + Alt + G)

User Count does not decrease.
If you delete instead of ungroup, the user count is updated.

Revisions and Commits

Event Timeline

Germano Cavalcante (mano-wii) changed the task status from Needs Triage to Confirmed.Thu, Mar 12, 1:40 PM
Germano Cavalcante (mano-wii) changed the subtype of this task from "Report" to "Bug".

This is related, but it's opposite effect.

The T74665 is about increasing user counters for nested resources.
This case is about decreasing counter for group itself, which also looks wrong.
Also - after saving and reloading the file, the counter is decreased to normal.

This case seems resolved in D6484

Snippet:
source/blender/editors/space_node/node_group.c:359-366