jsc3d icon indicating copy to clipboard operation
jsc3d copied to clipboard

material.name is empty

Open GoogleCodeExporter opened this issue 11 years ago • 1 comments

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

GoogleCodeExporter avatar Apr 09 '15 16:04 GoogleCodeExporter

Thanks John! I'll fix it.

Original comment by [email protected] on 2 Jul 2014 at 3:09

GoogleCodeExporter avatar Apr 09 '15 16:04 GoogleCodeExporter