Consolidate file extension definitions
- Issue MatterHackers/MCCentral#2527 Too many authorities on valid files types
This commit is contained in:
parent
bf1ae223ac
commit
1da9d0dfb5
9 changed files with 8 additions and 22 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue