This patch updates online_mat_lib to the new group API introduced in 2.67.
Adds support for nested groups
Adds support for multiple groups in one text block/file - normally only material export
Smaller changes -
multiple instances of <?xml...?> header string to global var
duplicate instances of many replace()'s for bad filename chars moved into function
material name saved as attribute and used on re-creation
Known limitations -
nested groups saved to multiple files don't import - they may link with an existing group with a matching name on import
I updated the blender version to 2.69 - I believe it should work with 2.67 or higher. I have not included any version tests to support older versions.