2
0
Эх сурвалжийг харах

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.

acgessler 11 жил өмнө
parent
commit
203d5d6fcc

+ 1 - 0
code/ObjFileMtlImporter.cpp

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