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:
Samuele Lorefice
2025-03-06 19:11:03 +01:00
parent 0bc7f73aee
commit fb50e3fa44
12 changed files with 75 additions and 48 deletions

View File

@@ -13,7 +13,7 @@ using System;
namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(106, "bArmature", 404)]
[DNAClassAttribute(106, "bArmature", 412)]
public class bArmature {
[DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)]
public ID id;
@@ -59,7 +59,7 @@ namespace BlendFile.DNA {
public float axes_position;
[DNAFieldAttribute(16, "bArmature_Runtime", 23, "runtime", "bArmature_Runtime", false, 388)]
public bArmature_Runtime runtime;
[DNAListAttribute(8, "BoneCollection", "**collection_array", 15, "BoneCollection", "collection_array_num", 16, 404)]
[DNAListAttribute(8, "BoneCollection", "**collection_array", 15, "BoneCollection", "collection_array_num", 16, 404, 0)]
public System.Collections.Generic.List<BoneCollection> collection_array;
public bArmature() {
this.id = default;