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,7 +13,7 @@ using System;
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(65, "bAction", 316)]
|
||||
[DNAClassAttribute(65, "bAction", 340)]
|
||||
public class bAction {
|
||||
[DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)]
|
||||
public ID id;
|
||||
@@ -45,11 +45,11 @@ namespace BlendFile.DNA {
|
||||
public float frame_end;
|
||||
[DNAFieldAttribute(8, "PreviewImage", 20, "*preview", "PreviewImage", true, 308)]
|
||||
public PreviewImage preview;
|
||||
[DNAListAttribute(8, "ActionLayer", "**layer_array", 1, "ActionLayer", "layer_array_num", 2, 316)]
|
||||
[DNAListAttribute(8, "ActionLayer", "**layer_array", 1, "ActionLayer", "layer_array_num", 2, 316, 0)]
|
||||
public System.Collections.Generic.List<ActionLayer> layer_array;
|
||||
[DNAListAttribute(8, "ActionSlot", "**slot_array", 4, "ActionSlot", "slot_array_num", 5, 316)]
|
||||
[DNAListAttribute(8, "ActionSlot", "**slot_array", 4, "ActionSlot", "slot_array_num", 5, 324, 0)]
|
||||
public System.Collections.Generic.List<ActionSlot> slot_array;
|
||||
[DNAListAttribute(8, "ActionStripKeyframeData", "**strip_keyframe_data_array", 7, "ActionStripKeyframeData", "strip_keyframe_data_array_num", 8, 316)]
|
||||
[DNAListAttribute(8, "ActionStripKeyframeData", "**strip_keyframe_data_array", 7, "ActionStripKeyframeData", "strip_keyframe_data_array_num", 8, 332, 0)]
|
||||
public System.Collections.Generic.List<ActionStripKeyframeData> strip_keyframe_data_array;
|
||||
public bAction() {
|
||||
this.id = default;
|
||||
|
||||
Reference in New Issue
Block a user