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.
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.