Page MenuHome

Deleting an object doesn't always remove shader node links to it
Closed, ResolvedPublic


System Information
Win8.1x64, 3x gtx580

Blender Version

Short description of error
If the file was saved+opened after linking or an undo was made, deleting a shader node linked object doesn't remove the link.

Exact steps for others to reproduce the error

  • Point shader node to the cube on the right
  • Delete the cube on the right
  • The link to non-existent cube in the first cube's shader is removed as expected
  • Undo back to having both cubes
  • The second cube now is marked as linked to another scene (blue dot)
  • Deleting the second cube now leaves a shader node's link to it intact

Event Timeline

Ok, I think I know what you mean now.
For me.
1)link in Texture shader cube.001 to cube

  1. delete cube.001

3)go back to materials and for me, link to cube.001 is still there. (I didn't have to do any undos)

I believe this may be related to your previous bug report T51624

Bastien Montagne (mont29) closed this task as Archived.
Bastien Montagne (mont29) claimed this task.

Thanks for the report, but would not consider this a bug for now.

Thing is, getting rid of all object usages when deleting it from scene is already really hacky process, full of special cases and exceptions, and I’d rather get rid of it entirely, rather giving user easy way to manage uninstanced objects (i.e. easy way to re-instance them in a scene, since they can already easily delete them for real in Outliner).

But this is TODO really.

Thanks. Not sure I get "delete for real" in outliner part though, as in Outliner->Blender file mode, Right click->Delete on objects acts the same as normal delete. That is - nothing happens if an object has shader node users.

Bastien Montagne (mont29) triaged this task as Normal priority.

Eeek you are right about being impossible to delete uninstantiated objects from Outliner. Will fix that.