diff --git a/RecrownedAthenaeum.Pipeline/TextureAtlas/TextureAtlasData.cs b/RecrownedAthenaeum.Pipeline/TextureAtlas/TextureAtlasData.cs index 460b733..4ed3c9b 100644 --- a/RecrownedAthenaeum.Pipeline/TextureAtlas/TextureAtlasData.cs +++ b/RecrownedAthenaeum.Pipeline/TextureAtlas/TextureAtlasData.cs @@ -15,6 +15,12 @@ namespace RecrownedAthenaeum.Pipeline.TextureAtlas public TextureAtlasRegion[] regions; public string textureName; + public TextureAtlasData(string textureName, TextureAtlasRegion[] regions) + { + this.regions = regions; + this.textureName = textureName; + } + public class TextureAtlasRegion { public string name; diff --git a/RecrownedAthenaeum.Pipeline/TextureAtlas/TextureAtlasImporter.cs b/RecrownedAthenaeum.Pipeline/TextureAtlas/TextureAtlasImporter.cs index 5c68361..05f1577 100644 --- a/RecrownedAthenaeum.Pipeline/TextureAtlas/TextureAtlasImporter.cs +++ b/RecrownedAthenaeum.Pipeline/TextureAtlas/TextureAtlasImporter.cs @@ -11,7 +11,7 @@ using System.Xml.Serialization; namespace RecrownedAthenaeum.Pipeline.TextureAtlas { - [ContentImporter(".atlas", DisplayName = "Texture Atlas Importer")] + [ContentImporter(".tatlas", DisplayName = "Texture Atlas Importer")] internal class TextureAtlasImporter : ContentImporter { public override TextureAtlasData Import(string filename, ContentImporterContext context)