mirror of
https://github.com/4sval/FModel.git
synced 2026-03-21 17:24:26 -05:00
fixed black textures bug
This commit is contained in:
parent
f77dcddb60
commit
bb28447159
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -328,3 +328,6 @@ ASALocalRun/
|
|||
|
||||
# MFractors (Xamarin productivity tool) working folder
|
||||
.mfractor/
|
||||
|
||||
|
||||
.github
|
||||
|
|
@ -15,14 +15,17 @@ namespace FModel.PakReader.Parsers.Objects
|
|||
Data = new byte[Header.ElementCount];
|
||||
if (Header.ElementCount == 0)
|
||||
{
|
||||
Data = null;
|
||||
return;
|
||||
}
|
||||
else if ((bulkDataFlags & (uint)EBulkDataFlags.BULKDATA_Unused) != 0)
|
||||
{
|
||||
Data = null;
|
||||
return;
|
||||
}
|
||||
else if ((bulkDataFlags & (uint)EBulkDataFlags.BULKDATA_OptionalPayload) != 0) //.uptnl
|
||||
{
|
||||
Data = null;
|
||||
return;
|
||||
}
|
||||
else if ((bulkDataFlags & (uint)EBulkDataFlags.BULKDATA_ForceInlinePayload) != 0) //.uexp
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user