mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-05-25 05:40:21 -04:00
[CLI] Fix export of some fbx models
This commit is contained in:
parent
e1e43439c3
commit
40e0bd0248
@ -57,16 +57,13 @@ namespace AssetStudio
|
||||
|
||||
public void SetAssetFilter(params ClassIDType[] classIDTypes)
|
||||
{
|
||||
if (filteredAssetTypesList.Count == 0)
|
||||
filteredAssetTypesList.UnionWith(new[]
|
||||
{
|
||||
filteredAssetTypesList.UnionWith(new HashSet<ClassIDType>
|
||||
{
|
||||
ClassIDType.AssetBundle,
|
||||
ClassIDType.ResourceManager,
|
||||
ClassIDType.GameObject,
|
||||
ClassIDType.Transform,
|
||||
});
|
||||
}
|
||||
ClassIDType.AssetBundle,
|
||||
ClassIDType.ResourceManager,
|
||||
ClassIDType.GameObject,
|
||||
ClassIDType.Transform,
|
||||
});
|
||||
|
||||
if (classIDTypes.Contains(ClassIDType.MonoBehaviour))
|
||||
{
|
||||
|
@ -572,7 +572,7 @@ namespace AssetStudioCLI.Options
|
||||
case "l2d":
|
||||
case "live2d":
|
||||
o_workMode.Value = WorkMode.Live2D;
|
||||
o_exportAssetTypes.Value = new List<ClassIDType>()
|
||||
o_exportAssetTypes.Value = new List<ClassIDType>
|
||||
{
|
||||
ClassIDType.AnimationClip,
|
||||
ClassIDType.MonoBehaviour,
|
||||
@ -581,13 +581,14 @@ namespace AssetStudioCLI.Options
|
||||
break;
|
||||
case "splitobjects":
|
||||
o_workMode.Value = WorkMode.SplitObjects;
|
||||
o_exportAssetTypes.Value = new List<ClassIDType>()
|
||||
o_exportAssetTypes.Value = new List<ClassIDType>
|
||||
{
|
||||
ClassIDType.Texture2D,
|
||||
ClassIDType.Material,
|
||||
ClassIDType.Mesh,
|
||||
ClassIDType.MeshRenderer,
|
||||
ClassIDType.MeshFilter,
|
||||
ClassIDType.SkinnedMeshRenderer,
|
||||
};
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user