1
0
mirror of synced 2025-01-19 09:17:30 +01:00

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) public void Load(System.IO.Stream stream)
{ {
CanSave = true; CanSave = false;
header = new Header(); header = new Header();
header.Read(new FileReader(stream)); header.Read(new FileReader(stream));

View File

@ -109,9 +109,9 @@ namespace Toolbox.Library
try try
{ {
var bitmap = Textures[i].GetBitmap(); var bitmap = Textures[i].GetBitmap();
bitmap = Textures[i].GetComponentBitmap(bitmap);
if (bitmap != null) if (bitmap != null)
{ {
bitmap = Textures[i].GetComponentBitmap(bitmap);
string textureName = Textures[i].Text; string textureName = Textures[i].Text;
if (textureName.RemoveIllegaleFileNameCharacters() != textureName) if (textureName.RemoveIllegaleFileNameCharacters() != textureName)
{ {