File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
xivModdingFramework/Materials/DataContainers Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -691,13 +691,24 @@ public List<TexTypePath> GetTextureTypePathList()
691
691
{
692
692
var ret = new List < TexTypePath > ( ) ;
693
693
var maps = GetAllMapInfos ( false ) ;
694
+ var shaderInfo = GetShaderInfo ( ) ;
694
695
TexTypePath ttp ;
695
696
foreach ( var map in maps )
696
697
{
697
- ttp = new TexTypePath ( ) { DataFile = GetDataFile ( ) , Path = map . path , Type = map . Usage } ;
698
698
699
+
700
+ if ( shaderInfo . Shader == MtrlShader . Skin && map . Usage == XivTexType . Multi )
701
+ {
702
+ ttp = new TexTypePath ( ) { DataFile = GetDataFile ( ) , Path = map . path , Type = XivTexType . Skin } ;
703
+
704
+ }
705
+ else
706
+ {
707
+ ttp = new TexTypePath ( ) { DataFile = GetDataFile ( ) , Path = map . path , Type = map . Usage } ;
708
+ }
699
709
var fName = Path . GetFileNameWithoutExtension ( map . path ) ;
700
- if ( fName != "" ) {
710
+ if ( fName != "" )
711
+ {
701
712
var name = map . Usage . ToString ( ) + ": " + fName ;
702
713
ttp . Name = name ;
703
714
}
You can’t perform that action at this time.
0 commit comments