Fixed list length value returning always zero.
Added separated pointer and count memory offsets to list attributes. Tried handling them
This commit is contained in:
@@ -13,15 +13,15 @@ using System;
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(63, "ActionChannelBag", 8)]
|
||||
[DNAClassAttribute(63, "ActionChannelBag", 24)]
|
||||
public class ActionChannelBag {
|
||||
[DNAFieldAttribute(4, "int", 0, "slot_handle", "int", false, 0)]
|
||||
public int slot_handle;
|
||||
[DNAFieldAttribute(4, "uchar", 3, "_pad[4]", "System.Byte[]", false, 4)]
|
||||
public byte[] _pad = new System.Byte[4];
|
||||
[DNAListAttribute(8, "bActionGroup", "**group_array", 2, "bActionGroup", "group_array_num", 1, 8)]
|
||||
[DNAListAttribute(8, "bActionGroup", "**group_array", 2, "bActionGroup", "group_array_num", 1, 8, 0)]
|
||||
public System.Collections.Generic.List<bActionGroup> group_array;
|
||||
[DNAListAttribute(8, "FCurve", "**fcurve_array", 5, "FCurve", "fcurve_array_num", 4, 8)]
|
||||
[DNAListAttribute(8, "FCurve", "**fcurve_array", 5, "FCurve", "fcurve_array_num", 4, 16, 0)]
|
||||
public System.Collections.Generic.List<FCurve> fcurve_array;
|
||||
public ActionChannelBag() {
|
||||
this.slot_handle = default;
|
||||
|
||||
Reference in New Issue
Block a user