File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
xivModdingFramework/Materials/FileTypes Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -507,6 +507,8 @@ await Task.Run((Func<Task>)(async () =>
507
507
. Replace ( "\0 " , "" ) ;
508
508
var dx11FileName = Path . GetFileName ( texturePath ) . Insert ( 0 , "--" ) ;
509
509
510
+ if ( String . IsNullOrEmpty ( texturePath ) ) continue ;
511
+
510
512
if ( await index . FileExists ( Path . GetDirectoryName ( texturePath ) . Replace ( "\\ " , "/" ) + "/" + dx11FileName ,
511
513
DataFile ) )
512
514
{
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ public class StainingTemplateEntry
68
68
public readonly List < Half [ ] > DiffuseEntries = new List < Half [ ] > ( ) ;
69
69
public readonly List < Half [ ] > SpecularEntries = new List < Half [ ] > ( ) ;
70
70
public readonly List < Half [ ] > EmissiveEntries = new List < Half [ ] > ( ) ;
71
- public readonly List < Half > TileMaterialEntries = new List < Half > ( ) ;
71
+ public readonly List < Half > DiffuseSecondaryEntries = new List < Half > ( ) ;
72
72
public readonly List < Half > GlossEntries = new List < Half > ( ) ;
73
73
74
74
public StainingTemplateEntry ( byte [ ] data , int offset )
@@ -197,11 +197,11 @@ public StainingTemplateEntry(byte[] data, int offset)
197
197
}
198
198
else if ( x == 3 )
199
199
{
200
- TileMaterialEntries . Add ( arr [ 0 ] ) ;
200
+ GlossEntries . Add ( arr [ 0 ] ) ;
201
201
}
202
202
else if ( x == 4 )
203
203
{
204
- GlossEntries . Add ( arr [ 0 ] ) ;
204
+ DiffuseSecondaryEntries . Add ( arr [ 0 ] ) ;
205
205
}
206
206
}
207
207
You can’t perform that action at this time.
0 commit comments