diff --git a/DALTools/FontEditor/MainWindow.xaml.cs b/DALTools/FontEditor/MainWindow.xaml.cs index d342dc5..a1208fd 100644 --- a/DALTools/FontEditor/MainWindow.xaml.cs +++ b/DALTools/FontEditor/MainWindow.xaml.cs @@ -502,10 +502,11 @@ private void UI_ImportTextureButton_Click(object sender, RoutedEventArgs e) { var textureFilePath = PCKFontArchive.SearchForFile(".tex"); var newTexture = new TEXFile(); - - // Set Sigless newTexture.Sigless = true; - + + if (FontTableFile != null) + newTexture.Sigless = false; + // Load Image to Texture newTexture.LoadSheetImage(ofd.FileName); @@ -530,7 +531,7 @@ private void UI_ImportTextureButton_Click(object sender, RoutedEventArgs e) using (var stream = new MemoryStream()) { newTexture.Save(stream); - PCKFontArchive.ReplaceFile(textureFilePath, stream.ToArray()); + PCKFontArchive.ReplaceFile(textureFilePath, stream.ToArray()); } } // Set Texture