Imported static Kaitai.BlendFile, compressing bunch of lines
This commit is contained in:
@@ -227,7 +227,7 @@ public class Reader {
|
||||
if (value != null) return value;
|
||||
|
||||
//Check if the field is a pointer to another DNA structure
|
||||
if (dnaTypesDb.ContainsKey(attrib.OriginalType)) {
|
||||
if (dnaTypesDb.ContainsKey(attrib.OriginalType)) {
|
||||
if (!attrib.IsPointer) { //It's a structure
|
||||
|
||||
//Create a new instance of the DNA structure type
|
||||
@@ -249,6 +249,7 @@ public class Reader {
|
||||
pointers.TryAdd(block.MemAddr.ToPointer() + offset, data.ToPointer());
|
||||
}
|
||||
}
|
||||
|
||||
throw new NotSupportedException($"Unknown type \"{attrib.OriginalType}\"");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user