Fix replacing wii u bflims in the layout editor
This commit is contained in:
parent
587871b653
commit
a79082ecbe
@ -92,6 +92,8 @@ namespace FirstPlugin
|
||||
|
||||
private void UpdateForm(ImageEditorBase form)
|
||||
{
|
||||
if (form == null) return;
|
||||
|
||||
if (image != null)
|
||||
{
|
||||
Properties prop = new Properties();
|
||||
@ -332,6 +334,9 @@ namespace FirstPlugin
|
||||
|
||||
LoadComponents(Format, ftex.UseBc4Alpha);
|
||||
|
||||
if (RenderableTex != null) //Reload bflim in opengl if used
|
||||
LoadOpenGLTexture();
|
||||
|
||||
UpdateForm();
|
||||
}
|
||||
}
|
||||
|
@ -374,9 +374,15 @@ namespace LayoutBXLYT
|
||||
if (texture == null)
|
||||
return;
|
||||
|
||||
Console.WriteLine("texture edited!");
|
||||
|
||||
TextureList[textName] = texture;
|
||||
//Update the icon by reloading all of them
|
||||
|
||||
Console.WriteLine("LoadTextures!");
|
||||
LoadTextures(ParentEditor, ActiveLayout, TextureList);
|
||||
Console.WriteLine("FIN!");
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user