Fix importing pattern constants to the texutre list
This commit is contained in:
parent
033888f6e2
commit
2195fc4d03
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…
x
Reference in New Issue
Block a user