diff --git a/Atlas/ContentReaders/TextureAtlasReader.cs b/Atlas/ContentReaders/TextureAtlasReader.cs index 40a84c1..86524f1 100644 --- a/Atlas/ContentReaders/TextureAtlasReader.cs +++ b/Atlas/ContentReaders/TextureAtlasReader.cs @@ -1,5 +1,5 @@ #region License -// Copyright 2016 Kastellanos Nikolaos +// Copyright 2016-2019 Kastellanos Nikolaos // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -26,8 +26,6 @@ public class TextureAtlasReader : ContentTypeReader { protected override TextureAtlas Read(ContentReader input, TextureAtlas existingInstance) { - System.Diagnostics.Debugger.Launch(); - IGraphicsDeviceService graphicsDeviceService = (IGraphicsDeviceService)input.ContentManager.ServiceProvider.GetService(typeof(IGraphicsDeviceService)); var device = graphicsDeviceService.GraphicsDevice; diff --git a/Content.Pipeline/AtlasImporter/Processors/TextureAtlasProcessor.cs b/Content.Pipeline/AtlasImporter/Processors/TextureAtlasProcessor.cs index 86ee1ab..571d847 100644 --- a/Content.Pipeline/AtlasImporter/Processors/TextureAtlasProcessor.cs +++ b/Content.Pipeline/AtlasImporter/Processors/TextureAtlasProcessor.cs @@ -1,5 +1,5 @@ #region License -// Copyright 2016 Kastellanos Nikolaos +// Copyright 2016-2019 Kastellanos Nikolaos // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -43,7 +43,7 @@ public class AtlasProcessor : TextureProcessor, IContentProcessor [DefaultValue(true)] - public new bool MipmapsPerSprite + public bool MipmapsPerSprite { get { return _mipmapsPerSprite; } set { _mipmapsPerSprite = value; } diff --git a/Samples/AtlasContent/Samples.AtlasContent.mgcb b/Samples/AtlasContent/Samples.AtlasContent.mgcb index aafb9b4..9de01aa 100644 --- a/Samples/AtlasContent/Samples.AtlasContent.mgcb +++ b/Samples/AtlasContent/Samples.AtlasContent.mgcb @@ -24,7 +24,6 @@ #begin atlasMipmap.tmx /importer:AtlasImporter /processor:AtlasProcessor -/processorParam:Microsoft.Xna.Framework.Content.Pipeline.IContentProcessor.InputType=tainicom.Aether.Content.Pipeline.Atlas.AtlasContent /processorParam:MipmapsPerSprite=False /processorParam:ColorKeyColor=255,0,255,255 /processorParam:ColorKeyEnabled=False @@ -38,7 +37,6 @@ #begin atlasMipmapPerSprite.tmx /importer:AtlasImporter /processor:AtlasProcessor -/processorParam:Microsoft.Xna.Framework.Content.Pipeline.IContentProcessor.InputType=tainicom.Aether.Content.Pipeline.Atlas.AtlasContent /processorParam:MipmapsPerSprite=True /processorParam:ColorKeyColor=255,0,255,255 /processorParam:ColorKeyEnabled=False @@ -52,7 +50,6 @@ #begin atlasNoMipmap.tmx /importer:AtlasImporter /processor:AtlasProcessor -/processorParam:Microsoft.Xna.Framework.Content.Pipeline.IContentProcessor.InputType=tainicom.Aether.Content.Pipeline.Atlas.AtlasContent /processorParam:MipmapsPerSprite=False /processorParam:ColorKeyColor=255,0,255,255 /processorParam:ColorKeyEnabled=False