isgl3d/isgl3d — pull request #40 by jeiting (2012-03-26 08:13:35+00:00)
Title: Meshes with parents not receiving proper transformations in PODImporter

When constructing the node graph from a pod scene, sub-meshes were being assigned the global transformation matrix. This only works if the mesh is a root object. This pull request populates the constructed nodes with the self->parent transformation and not the global.

I noticed the bug when trying to load the attached pod file. Without the patch all the sub meshes render at the origin. With the patch everything looks correct.
http://cl.ly/0M1N070N1u1T2F0C3V14

I also ran the PODTest and the teapot rendered properly with the change.