Don't force extension to upper case
- Issue MatterHackers/MCCentral#1722
This commit is contained in:
parent
fbce1c9a50
commit
3ba370e349
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue