Load txtg texture in material UI
This commit is contained in:
parent
45d20e8f44
commit
357b8b2bc9
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user