mirror of
https://github.com/aelurum/AssetStudio.git
synced 2026-11-14 11:18:47 -05:00
Add option to filter Live2D textures
This commit is contained in:
@@ -256,7 +256,7 @@ namespace CubismLive2DExtractor
|
||||
{
|
||||
Texture2Ds = renderTextureSet.ToList();
|
||||
}
|
||||
else if (Options.SearchByFilename)
|
||||
else if (Options.SearchByFilename && Options.FilterTextures)
|
||||
{
|
||||
Texture2Ds = Texture2Ds.Where(x => x.m_Name.ToLower().Contains("texture")).ToList();
|
||||
}
|
||||
|
||||
@@ -11,5 +11,6 @@ namespace CubismLive2DExtractor
|
||||
public Live2DMotionMode MotionMode { get; set; } = Live2DMotionMode.MonoBehaviour;
|
||||
public bool ForceBezier { get; set; }
|
||||
public bool SearchByFilename { get; set; }
|
||||
public bool FilterTextures { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user