Blenderstorm Polls and Ideas:
show ideas | about |
Log in

idea #77: Garbage Collector



up
102
(+112,-10)
down
Written by kakapo the 20 Nov 08 at 17:16. Category: Others. Status: New
Description
a way for deleting (all) unused datablocks of the current blender session so that you don't have to restart blender anymore for that.


Attachments
No attachments.


Duplicates


Comments
ZanQdo wrote on the 11 Apr 08 at 02:38
Yes, very important when your memory budget is low

Kirado wrote on the 11 Apr 08 at 14:17
This is very important if you want to pack files or just remove images or other info that is no longer being used.

kakapo wrote on the 11 Apr 08 at 16:28
...of course it shouldn't be too easy to do this accidentally. :)

rexmortis wrote on the 12 Apr 08 at 06:37
My spoon is too big!

Uriel wrote on the 12 Apr 08 at 12:18
Maybe, that should be modified, actually, there is a(0)before material name...but maybe a more identified icon ?

DeveloperDeveloper theeth (Blender Developer) wrote on the 13 Apr 08 at 18:26
You don't have to restart Blender, just save/reopen your file.
Zero user datablocks are not saved, so they would be freed on automatic close (before reopen) and not reloaded.

Handoko wrote on the 15 Apr 08 at 18:45
Yes, I've tried it. Save and reopen the file. But I'd prefer to do it on a click of a button.

leojS wrote on the 15 Apr 08 at 19:36
Yes it would be nice to have a more user-friendly way of doing this rather than having to save & reload. Some kind of "recycle bin" type of thing would be good IMO.

muody wrote on the 16 Apr 08 at 09:53
or just a DELETE button near the material, not just Unlink

Dojo wrote on the 16 Apr 08 at 09:57
I think Ctrl+W, Enter, Ctrl*O, Enter is faster than a bin button which I have to search in the menus.

DeveloperDeveloper broken (Blender Developer) wrote on the 21 Apr 08 at 05:19
Dojo, not if you're working in a large scene with lots of geometry, with large textures in the view, that takes a long time to load up. Not to mention that you may not *want* to actually save the file at that stage.

A 'datablock trash bin' would be great, if you could use that as a general location to restore, or properly delete data from the file.

Cessen wrote on the 6 May 08 at 23:12
I think this idea can be generalized to: "A user should never, ever, ever, ever, ever have to save and reload to accomplish anything in Blender."

Handoko wrote on the 13 May 08 at 20:32
It is similar in Inkscape, they call it: VacuumDef.

Gwenouille wrote on the 26 May 08 at 23:45
I am in favour of this.
I ask the coders now: is it easy to implement ?

And where should we put this function ? It doesn't belong in a particular panel, so it should appear in the file menu i guess, in the "append, import/export" section. I'd name it "flush unlinked datablocks"
What do you think ?

AdminAdmin ideasman42 (Blenderstorm admin) wrote on the 26 Oct 08 at 19:01
This isnt hard to add - but it would probably need to free all Undo's from memory.


Post your comment