Don't force extension to upper case

- Issue MatterHackers/MCCentral#1722
This commit is contained in:
John Lewin 2017-07-12 14:40:25 -07:00
parent fbce1c9a50
commit 3ba370e349

View file

@ -167,7 +167,7 @@ namespace MatterHackers.MatterControl.Library
string childFilePath = part.FileLocation;
using (var fileStream = File.OpenRead(part.FileLocation))
{
AddItem(fileStream, Path.GetExtension(childFilePath).ToUpper(), PrintItemWrapperExtensionMethods.GetFriendlyName(Path.GetFileNameWithoutExtension(childFilePath)));
AddItem(fileStream, Path.GetExtension(childFilePath), PrintItemWrapperExtensionMethods.GetFriendlyName(Path.GetFileNameWithoutExtension(childFilePath)));
}
}
}
@ -183,7 +183,7 @@ namespace MatterHackers.MatterControl.Library
itemName = PrintItemWrapperExtensionMethods.GetFriendlyName(Path.GetFileNameWithoutExtension(filePath));
}
AddItem(stream, Path.GetExtension(filePath).ToUpper(), itemName);
AddItem(stream, Path.GetExtension(filePath), itemName);
}
}
}