mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +08:00
Merge pull request #336 from pharan/patch-1
Fix 2D Projects breaking PMA atlases.
This commit is contained in:
commit
39ce4b2bd4
@ -390,6 +390,7 @@ public class SpineEditorUtilities : AssetPostprocessor {
|
|||||||
TextureImporter texImporter = (TextureImporter)TextureImporter.GetAtPath(texturePath);
|
TextureImporter texImporter = (TextureImporter)TextureImporter.GetAtPath(texturePath);
|
||||||
texImporter.textureFormat = TextureImporterFormat.AutomaticTruecolor;
|
texImporter.textureFormat = TextureImporterFormat.AutomaticTruecolor;
|
||||||
texImporter.mipmapEnabled = false;
|
texImporter.mipmapEnabled = false;
|
||||||
|
texImporter.alphaIsTransparency = false;
|
||||||
texImporter.maxTextureSize = 2048;
|
texImporter.maxTextureSize = 2048;
|
||||||
|
|
||||||
EditorUtility.SetDirty(texImporter);
|
EditorUtility.SetDirty(texImporter);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user