1
0
mirror of synced 2024-11-30 18:24:39 +01:00

Disable gmx saving as editing isn't supported yet

This commit is contained in:
KillzXGaming 2020-06-30 21:27:52 -04:00
parent 65d5fc1a32
commit a5ab81cc9b
2 changed files with 3 additions and 1 deletions

View File

@ -113,7 +113,7 @@ namespace FirstPlugin
public void Load(System.IO.Stream stream)
{
CanSave = true;
CanSave = false;
//Set renderer
Renderer = new GMX_Renderer();

View File

@ -113,6 +113,8 @@ namespace Toolbox.Library.IO
bool IsBotwFile = FilePath.IsSubPathOf(Runtime.BotwGamePath);
bool IsTPHDFile = FilePath.IsSubPathOf(Runtime.TpGamePath);
STConsole.WriteLine($"IsTPHDFile {IsTPHDFile}");
if (Runtime.ResourceTables.BotwTable && IsBotwFile)
{
string newFilePath = FilePath.Replace(Runtime.BotwGamePath, string.Empty).Remove(0, 1);