well this never worked right apparently

This commit is contained in:
Michael Becker 2019-12-02 07:51:34 -05:00
parent 72c0670167
commit 245041bbfa
No known key found for this signature in database
GPG Key ID: 389DFF5D73781A12

View File

@ -196,8 +196,18 @@ namespace UniversalEditor
{
if (assoc.ObjectModels.Contains(ac.ObjectModel))
{
associations.Add(assoc);
continue;
if (ac.DataFormat != null)
{
if (assoc.DataFormats.Contains(ac.DataFormat))
{
associations.Add(assoc);
continue;
}
}
else
{
associations.Add(assoc);
}
}
}
if (ac.DataFormat != null)