libgdx/libgdx — pull request #322 by xoppa (2013-03-28 20:46:18+00:00)
Title: New3dapi: Add Model.ManagedInstance, implement Disposable for Model, ModelInstance...

- Make NewMaterial and Attribute implement Disposable
- Make Attribute.type public final
- Remove deprecated NewMaterial methods.
- Add Model.ManagedInstance
- Dispose materials on Model#dispose and ModelInstance#dispose
- Make Model keep track of its instances and dispose them if the model is disposed.