Hi, I just noticed that the scenematerials variable is not updating when a new material has been put on an object (the old material should be deleted if it is not used on another object), instead it waits a certain amount of time before it deletes the materials that are not used in the scene anymore.
You can see what I mean in this short video: https://docs.google.com/file/d/0B0V4AxfEEBovcjNCaVRGOHc5UUU/edit?usp=sharing
Is there a way to mannualy force an update on the scene materials with mxs?