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(19, "IDPropertyUIDataBool", 20)]
|
||||
[DNAClassAttribute(19, "IDPropertyUIDataBool", 28)]
|
||||
public class IDPropertyUIDataBool {
|
||||
[DNAFieldAttribute(16, "IDPropertyUIData", 0, "base", "IDPropertyUIData", false, 0)]
|
||||
public IDPropertyUIData @base;
|
||||
@@ -21,7 +21,7 @@ namespace BlendFile.DNA {
|
||||
public char[] _pad = new System.Char[3];
|
||||
[DNAFieldAttribute(1, "int8_t", 4, "default_value", "int8_t", false, 19)]
|
||||
public sbyte default_value;
|
||||
[DNAListAttribute(8, "int8_t", "*default_array", 1, "int8_t", "default_array_len", 2, 20)]
|
||||
[DNAListAttribute(8, "int8_t", "*default_array", 1, "int8_t", "default_array_len", 2, 20, 0)]
|
||||
public System.Collections.Generic.List<sbyte> default_array;
|
||||
public IDPropertyUIDataBool() {
|
||||
this.@base = default;
|
||||
|
||||
Reference in New Issue
Block a user