From 9ab906920d4361fbed394d4bd6e2e451cd26641c Mon Sep 17 00:00:00 2001 From: miku-666 <74728189+NessieHax@users.noreply.github.com> Date: Sun, 24 Mar 2024 15:07:34 +0100 Subject: [PATCH] MainForm - Mark SubPck functions as obsolete --- PCK-Studio/MainForm.cs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/PCK-Studio/MainForm.cs b/PCK-Studio/MainForm.cs index 243ebf3d..bb92cdc8 100644 --- a/PCK-Studio/MainForm.cs +++ b/PCK-Studio/MainForm.cs @@ -990,6 +990,7 @@ namespace PckStudio } } + [Obsolete()] bool IsSubPCKNode(string nodePath, string extention = ".pck") { // written by miku, implemented and modified by MattNL @@ -1018,6 +1019,7 @@ namespace PckStudio return childNodes; } + [Obsolete()] TreeNode GetSubPCK(string childPath) { string parentPath = childPath.Replace('\\', '/'); @@ -1036,6 +1038,7 @@ namespace PckStudio return null; } + [Obsolete()] void RebuildSubPCK(string childPath) { // Support for if a file is edited within a nested PCK File (AKA SubPCK) @@ -2061,11 +2064,11 @@ namespace PckStudio if (saveFileDialog.ShowDialog() == DialogResult.OK) { Image img = file.GetTexture(); - var writer = new _3DSTextureWriter(img); - writer.WriteToFile(saveFileDialog.FileName); - } + var writer = new _3DSTextureWriter(img); + writer.WriteToFile(saveFileDialog.FileName); } } + } private void addMultipleEntriesToolStripMenuItem1_Click(object sender, EventArgs e) {