Some adjustments

This commit is contained in:
KillzXGaming 2020-04-26 17:30:55 -04:00
parent 554f4b17a0
commit 7efbad2ae9
2 changed files with 2 additions and 2 deletions

View file

@ -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));

View file

@ -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)
{