diff --git a/PCK-Studio/Internal/ModelImporter.cs b/PCK-Studio/Internal/ModelImporter.cs index 3c3a556d..be6d66e8 100644 --- a/PCK-Studio/Internal/ModelImporter.cs +++ b/PCK-Studio/Internal/ModelImporter.cs @@ -432,14 +432,18 @@ namespace PckStudio.Internal }; } // Bedrock Legacy Model - // TODO: Add notice for 64x32 skin being incompatible due to lack of texture size information. -miku - else if (fileName.EndsWith(".json")) + else if (fileName.EndsWith(".json") && modelInfo.Texture.Height == modelInfo.Texture.Width) { bedrockModel = new BedrockLegacyModel { { $"geometry.{Application.ProductName}.{Path.GetFileNameWithoutExtension(fileName)}", selectedGeometry } }; } + else + { + MessageBox.Show("Can't export to Bedrock Legacy Model.", "Invalid Texture Dimensions", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } if (bedrockModel is not null) {