Merge pull request #336 from pharan/patch-1

Fix 2D Projects breaking PMA atlases.
This commit is contained in:
Fenrisul 2014-12-05 20:46:46 -08:00
commit 39ce4b2bd4

View File

@ -390,6 +390,7 @@ public class SpineEditorUtilities : AssetPostprocessor {
TextureImporter texImporter = (TextureImporter)TextureImporter.GetAtPath(texturePath);
texImporter.textureFormat = TextureImporterFormat.AutomaticTruecolor;
texImporter.mipmapEnabled = false;
texImporter.alphaIsTransparency = false;
texImporter.maxTextureSize = 2048;
EditorUtility.SetDirty(texImporter);