File tree Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -57,16 +57,13 @@ public UnityVersion SpecifyUnityVersion
57
57
58
58
public void SetAssetFilter ( params ClassIDType [ ] classIDTypes )
59
59
{
60
- if ( filteredAssetTypesList . Count == 0 )
60
+ filteredAssetTypesList . UnionWith ( new [ ]
61
61
{
62
- filteredAssetTypesList . UnionWith ( new HashSet < ClassIDType >
63
- {
64
- ClassIDType . AssetBundle ,
65
- ClassIDType . ResourceManager ,
66
- ClassIDType . GameObject ,
67
- ClassIDType . Transform ,
68
- } ) ;
69
- }
62
+ ClassIDType . AssetBundle ,
63
+ ClassIDType . ResourceManager ,
64
+ ClassIDType . GameObject ,
65
+ ClassIDType . Transform ,
66
+ } ) ;
70
67
71
68
if ( classIDTypes . Contains ( ClassIDType . MonoBehaviour ) )
72
69
{
Original file line number Diff line number Diff line change @@ -572,7 +572,7 @@ public static void ParseArgs(string[] args)
572
572
case "l2d" :
573
573
case "live2d" :
574
574
o_workMode . Value = WorkMode . Live2D ;
575
- o_exportAssetTypes . Value = new List < ClassIDType > ( )
575
+ o_exportAssetTypes . Value = new List < ClassIDType >
576
576
{
577
577
ClassIDType . AnimationClip ,
578
578
ClassIDType . MonoBehaviour ,
@@ -581,13 +581,14 @@ public static void ParseArgs(string[] args)
581
581
break ;
582
582
case "splitobjects" :
583
583
o_workMode . Value = WorkMode . SplitObjects ;
584
- o_exportAssetTypes . Value = new List < ClassIDType > ( )
584
+ o_exportAssetTypes . Value = new List < ClassIDType >
585
585
{
586
586
ClassIDType . Texture2D ,
587
587
ClassIDType . Material ,
588
588
ClassIDType . Mesh ,
589
589
ClassIDType . MeshRenderer ,
590
590
ClassIDType . MeshFilter ,
591
+ ClassIDType . SkinnedMeshRenderer ,
591
592
} ;
592
593
break ;
593
594
default :
You can’t perform that action at this time.
0 commit comments