Hoe do you remove unused image maps from image editor dropdown?

Seems like I used to know hoe to do this, but for the life of me, I can't dind anything, and "refresh images" doesn't do jack. And yes, I am ABSOLUTELY SURE that these texture maps are not being used in any part of my scene. I can't get rid of them from the dropdown menu. Please help, this is driving me insane! I KNOW most people here know how to do something as basic as this, and I feel like an idiot for even asking, so please, I expect a prompt response because I KNOW this is an absolute, most basic no-brainer.
Post edited by IceEmpress on
Comments
Ctrl-i
Ctrl-i doesn't do anything. Even if I am viewing the dropdown menu at the time...
As a side-note, check out F3 (Window -> Workspace -> Customise), and have a look under the "Surfaces" branch on the left... Ctrl-I should be linked to 'Refresh Images'... which you've already said does nothing. That would be the way I would do it - I don't think there's any 'magic' you're missing...
Unfortunately, the logical conclusion is that there's still a reference to the image somewhere in your shaders... let me dig around in the Scripting SDK for a bit...
... hmmm... unfortunately there's no "backlinks" easily available... will have to do a brute-force search to determine which surfaces are using which images... (>_<)...</span>
Oh, here's a trick - if you have 7Zip available on your machine, you can extract an ASCII version of your file from the .DUF, then use Notepad (or whatever) to search for the name of the texture(s) that you think you should be able to get rid of. (^_^)d. That should either (a) confirm the 'Refresh Images' really is b0rked, or (b) there were other usage instances that you had missed.
^^Not true. I just ran a test by creating a primitive sphere. I gave it a diffuse texture that wasn't previously used in the scene, then changed it to a different diffuse texture, then clicked on "refresh images".
The first diffuse texture is still on my dropdown list, even though it no longer exists anywhere in the scene.
Furthermore, I deleted said primitive then clicked "refresh images". The two textures are still on the dropdown list.
So how do I fix this? I absolutely AM NOT uninstalling DAZ. I've done too much with it. So how do I fix it? Which files would be corrupt? Because I have a backup of all my DAZ files from Program Files, Programfiles x86, and Appdata Roaming from when I first installed the program. (I also have a backup of all my content files, but that might not go far back enough...)
Yep, I get the same behaviour as well - and fyi it looks like the image reference hangs around because you MAY want to Undo the action (so it keeps the image loaded forever and a day). Don't panic, nothing is corrupt, you don't need to reinstall anything. From memory, Richard has a script to flush textures... let me see if I can find a link...
ETA: ah, it was Adam... here is the link... no guarantees on operation in DS-4.6 (I don't use it)...
http://www.daz3d.com/forums/discussion/17833/#262681
ETA2: yes, it works for me in DS-4.6.0.18 (Win 64-bit). Note that as a side-effect you'll lose your undo-history running that script (but you'll ALSO remove all unused entries in the images list, as you want). Therefore, you may wish to limit running that script to just _after_ doing a save.
Oh, man, thanks a million! (I use 4.5, BTW-- not touching 4.6 until the work enough of the bugs out of it to be as stable as 4.5 considering you can't have two versions of DAZ installed at once)
Cool - hope it helps (^_^)n