Page MenuHome

Undo does not always properly clear no-more-used library data
Closed, ResolvedPublicBUG


System Information

Blender Version

Short description of error
Blender undo steps do not always properly clear all no-more-used libraries, especially when dealing with indirect hierarchies.

Split from original report T72887: Crash when issuing an undo operation immediately after linking a collection when an outliner's display mode is set to "Blender File".

Exact steps for others to reproduce the error

With those files:

  1. Open TEST.blend
  2. Link a collection from 2.blend (2.blend has an object linked from 1.blend; now the Outliner has 2 linked files)
  3. Undo the operation (Ctrl+Z)
  4. You can see in outliner that both libraries (and some indirectly-linked datablocks) are still there.