Consolidate file extension definitions

- Issue MatterHackers/MCCentral#2527
Too many authorities on valid files types
This commit is contained in:
John Lewin 2018-01-23 14:39:53 -08:00
parent bf1ae223ac
commit 1da9d0dfb5
9 changed files with 8 additions and 22 deletions

View file

@ -273,7 +273,7 @@ namespace MatterHackers.MatterControl.Library
// Special load processing for mesh data, simple copy below for non-mesh
if (forceAMF
&& (extension != "" && MeshFileIo.ValidFileExtensions().Contains(extension.ToUpper())))
&& (extension != "" && ApplicationSettings.ValidFileExtensions.Contains(extension.ToUpper())))
{
try
{