Disable gmx saving as editing isn't supported yet
This commit is contained in:
parent
65d5fc1a32
commit
a5ab81cc9b
@ -113,7 +113,7 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
public void Load(System.IO.Stream stream)
|
public void Load(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
CanSave = true;
|
CanSave = false;
|
||||||
|
|
||||||
//Set renderer
|
//Set renderer
|
||||||
Renderer = new GMX_Renderer();
|
Renderer = new GMX_Renderer();
|
||||||
|
@ -113,6 +113,8 @@ namespace Toolbox.Library.IO
|
|||||||
bool IsBotwFile = FilePath.IsSubPathOf(Runtime.BotwGamePath);
|
bool IsBotwFile = FilePath.IsSubPathOf(Runtime.BotwGamePath);
|
||||||
bool IsTPHDFile = FilePath.IsSubPathOf(Runtime.TpGamePath);
|
bool IsTPHDFile = FilePath.IsSubPathOf(Runtime.TpGamePath);
|
||||||
|
|
||||||
|
STConsole.WriteLine($"IsTPHDFile {IsTPHDFile}");
|
||||||
|
|
||||||
if (Runtime.ResourceTables.BotwTable && IsBotwFile)
|
if (Runtime.ResourceTables.BotwTable && IsBotwFile)
|
||||||
{
|
{
|
||||||
string newFilePath = FilePath.Replace(Runtime.BotwGamePath, string.Empty).Remove(0, 1);
|
string newFilePath = FilePath.Replace(Runtime.BotwGamePath, string.Empty).Remove(0, 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user