From 7efbad2ae91dac5539c922c89a8373c559381220 Mon Sep 17 00:00:00 2001 From: KillzXGaming Date: Sun, 26 Apr 2020 17:30:55 -0400 Subject: [PATCH] Some adjustments --- File_Format_Library/FileFormats/Message/MSBT.cs | 2 +- Switch_Toolbox_Library/FileFormats/DAE/DAE.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/File_Format_Library/FileFormats/Message/MSBT.cs b/File_Format_Library/FileFormats/Message/MSBT.cs index 828b10ee..2bbc1ff1 100644 --- a/File_Format_Library/FileFormats/Message/MSBT.cs +++ b/File_Format_Library/FileFormats/Message/MSBT.cs @@ -71,7 +71,7 @@ namespace FirstPlugin public void Load(System.IO.Stream stream) { - CanSave = true; + CanSave = false; header = new Header(); header.Read(new FileReader(stream)); diff --git a/Switch_Toolbox_Library/FileFormats/DAE/DAE.cs b/Switch_Toolbox_Library/FileFormats/DAE/DAE.cs index d1653222..5a79eaab 100644 --- a/Switch_Toolbox_Library/FileFormats/DAE/DAE.cs +++ b/Switch_Toolbox_Library/FileFormats/DAE/DAE.cs @@ -109,9 +109,9 @@ namespace Toolbox.Library try { var bitmap = Textures[i].GetBitmap(); - bitmap = Textures[i].GetComponentBitmap(bitmap); if (bitmap != null) { + bitmap = Textures[i].GetComponentBitmap(bitmap); string textureName = Textures[i].Text; if (textureName.RemoveIllegaleFileNameCharacters() != textureName) {