jsc3d
jsc3d copied to clipboard
material.name is empty
Trying to reference material.name returns an empty string.
I have added to JSC3D.ObjLoader.prototype.parseMtl @ line 5097
if(mtl != null)
mtl.material.name = curMtlName;
which appears to fix this without ill effects.
Original issue reported on code.google.com by [email protected] on 1 Jul 2014 at 6:40