Obj: make mtl importer accept kd, ks etc. as well (Kd, Ks being the correct form). This is for keeping up compatibility with assimp's own Obj exporter, which has been inaccurate about this since inception.

This commit is contained in:
acgessler
2014-08-02 21:18:21 -07:00
parent f5b9f5cb50
commit 203d5d6fcc

View File

@@ -129,6 +129,7 @@ void ObjFileMtlImporter::load()
{
switch (*m_DataIt)
{
case 'k':
case 'K':
{
++m_DataIt;