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(20, "IDPropertyUIDataFloat", 68)]
[DNAClassAttribute(20, "IDPropertyUIDataFloat", 76)]
public class IDPropertyUIDataFloat {
[DNAFieldAttribute(16, "IDPropertyUIData", 0, "base", "IDPropertyUIData", false, 0)]
public IDPropertyUIData @base;
@@ -33,7 +33,7 @@ namespace BlendFile.DNA {
public double soft_max;
[DNAFieldAttribute(8, "double", 10, "default_value", "double", false, 60)]
public double default_value;
[DNAListAttribute(8, "double", "*default_array", 1, "double", "default_array_len", 2, 68)]
[DNAListAttribute(8, "double", "*default_array", 1, "double", "default_array_len", 2, 68, 0)]
public System.Collections.Generic.List<double> default_array;
public IDPropertyUIDataFloat() {
this.@base = default;