From 523c945f4e5fd8cfde0b65ed9fd253902cf766c9 Mon Sep 17 00:00:00 2001 From: miku-666 <74728189+NessieHax@users.noreply.github.com> Date: Fri, 9 Aug 2024 23:39:21 +0200 Subject: [PATCH] GameModelImporter - Change blockbench name when exporting --- PCK-Studio/Internal/GameModelImporter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PCK-Studio/Internal/GameModelImporter.cs b/PCK-Studio/Internal/GameModelImporter.cs index 8db9b6f9..a2da5407 100644 --- a/PCK-Studio/Internal/GameModelImporter.cs +++ b/PCK-Studio/Internal/GameModelImporter.cs @@ -29,7 +29,7 @@ namespace PckStudio.Internal private static void ExportBlockBenchModel(string fileName, GameModelInfo modelInfo) { - BlockBenchModel blockBenchModel = BlockBenchModel.Create(Path.GetFileNameWithoutExtension(fileName), modelInfo.Model.TextureSize, modelInfo.Textures.Select(nt => (Texture)nt)); + BlockBenchModel blockBenchModel = BlockBenchModel.Create(modelInfo.Model.Name, modelInfo.Model.TextureSize, modelInfo.Textures.Select(nt => (Texture)nt)); Dictionary outliners = new Dictionary(5); List elements = new List(modelInfo.Model.Parts.Count);