2
$\begingroup$

I have a kit with a lot of models and a couple of dozen textures. If I browse the blender file in the Outliner some images are listed as xxx.jpg and xxx.jpg.001 so I’m assuming they are duplicates and wish to get rid of them. If I open one of the .001 files in the image editor it indicates that it has no users, but I can find a material that is using that file in the shader editor. Is there any reliable way to determine if an image actually has no users. I’m hoping to avoid having to manually go through every texture and reassign the non .001 version of the image to the Image Texture node.

$\endgroup$

2 Answers 2

2
$\begingroup$

You can use the drop down in the outliner to view the blend file and then use the purge button to clear out any you aren't using.

Orphan Data

If you want to keep something, you can fake a user by clicking the X, which will turn to a power button icon.

$\endgroup$
2
  • $\begingroup$ Thanks, that could be useful, but in this case none of the duplicate images are listed under orphan data. However there are no duplicate materials, so I'm wondering if it's possible that a material on two different objects can in fact be using different image textures, even if they are duplicates of the same image. I would have thought not. $\endgroup$ Dec 22, 2019 at 23:51
  • $\begingroup$ I just tested this with a couple of textures and it seems to work well. Note if a material is orphaned itself, any textures it uses are not orphans, they still belong to the material. I guess you could always backup your blend file to be safe then see what happens. $\endgroup$
    – Moog
    Dec 23, 2019 at 3:21
2
$\begingroup$

Found the answer on BA:

Switch the Outliner display mode to ‘Blender File’, expand ‘Images’, select all .00x images, right click, Remap Users, pick the non-.00x version in the dropdown, and click OK a bunch of times. Then switch the Outliner display mode to ‘Orphan Data’ and click ‘Purge’, or save/reload your file a few times.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .