1
0
mirror of synced 2025-02-22 05:19:50 +01:00

Load txtg texture in material UI

This commit is contained in:
KillzXGaming 2023-05-28 17:01:52 -04:00
parent 45d20e8f44
commit 357b8b2bc9

View File

@ -289,6 +289,17 @@ namespace FirstPlugin.Forms
Thread.Start();
}
}
if (PluginRuntime.TextureCache.ContainsKey(name))
{
Thread = new Thread((ThreadStart)(() =>
{
textureBP.Image = Toolbox.Library.Imaging.GetLoadingImage();
textureBP.Image = PluginRuntime.TextureCache[name].GetBitmap();
}));
Thread.Start();
}
foreach (BFRESGroupNode ftexCont in PluginRuntime.ftexContainers)
{
if (ftexCont.ResourceNodes.ContainsKey(name))