hizamoussama / jsc3d

Automatically exported from code.google.com/p/jsc3d
0 stars 0 forks source link

Add flexibility on mtl properties case #71

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Some tools generate mtl files with wrong case for properties like "map_Kd". The 
property name generated is "map_kd".
Example : the great tool assimp does that : http://assimp.sourceforge.net/

Checking the porperty name in lower case fixes that problem (even if it's not 
really abug).

A patch is attached.

Original issue reported on code.google.com by laurent....@fabzat.com on 10 Apr 2014 at 1:22

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks Laurent! You have been always so kind to help me to improve this 
software!

The patch works fine. I'll merge it to the major branch and update the 
repository soon.

Original comment by Humu2...@gmail.com on 12 Apr 2014 at 3:22