Notifications
Clear all
[Closed] How to clear scenematerials buffer~
Dec 06, 2010 9:32 am
hello guys!~
How to clear scenematerials buffer~ sometime there have a lot of materials unused by objects… so how to clear it ??
3 Replies
2 Replies
Here is Bobo’s solution and it works for me:
save the file (saveMaxFile()) or save nodes (saveNodes())
To expand on this, the scenematerials library gets updated internally on file operations (because it is slow). To avoid the long wait when saving a large scene, using
saveNodes #() someTempFile
should be the fastest solution – it saves an empty file without any objects, but still triggers the update of the scene materials of the current scene…
Dec 06, 2010 9:32 am
I think it’s read only so nope. you could collect all the scene objects materials into your own scene material library or array quite easily.