mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-26 06:20:24 +00:00
Fix importing pattern constants to the texutre list
This commit is contained in:
parent
033888f6e2
commit
2195fc4d03
2 changed files with 6 additions and 0 deletions
Binary file not shown.
|
@ -223,6 +223,12 @@ namespace FirstPlugin
|
|||
{
|
||||
foreach (var texturePatternCfg in matCfg.TexturePatternInfos)
|
||||
{
|
||||
if (texturePatternCfg.ConstantValue == null)
|
||||
{
|
||||
if (!Textures.Contains(texturePatternCfg.ConstantValue.Texture))
|
||||
Textures.Add(texturePatternCfg.ConstantValue.Texture);
|
||||
}
|
||||
|
||||
if (texturePatternCfg.CurveData == null)
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Reference in a new issue