Accepted changes from Thomas Licht. He fixed a bug in the obj reader.