mirror of
https://github.com/4sval/FModel.git
synced 2026-09-21 16:04:39 -05:00
fixed black textures bug
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user