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(311, "GreasePencil", 570)]
|
||||
[DNAClassAttribute(311, "GreasePencil", 586)]
|
||||
public class GreasePencil {
|
||||
[DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)]
|
||||
public ID id;
|
||||
@@ -45,9 +45,9 @@ namespace BlendFile.DNA {
|
||||
public GreasePencilOnionSkinningSettings onion_skinning_settings;
|
||||
[DNAFieldAttribute(8, "GreasePencilRuntimeHandle", 18, "*runtime", "GreasePencilRuntimeHandle", true, 562)]
|
||||
public GreasePencilRuntimeHandle runtime;
|
||||
[DNAListAttribute(8, "GreasePencilDrawingBase", "**drawing_array", 2, "GreasePencilDrawingBase", "drawing_array_size", 3, 570)]
|
||||
[DNAListAttribute(8, "GreasePencilDrawingBase", "**drawing_array", 2, "GreasePencilDrawingBase", "drawing_array_size", 3, 570, 0)]
|
||||
public System.Collections.Generic.List<GreasePencilDrawingBase> drawing_array;
|
||||
[DNAListAttribute(8, "Material", "**material_array", 10, "Material", "material_array_size", 11, 570)]
|
||||
[DNAListAttribute(8, "Material", "**material_array", 10, "Material", "material_array_size", 11, 578, 0)]
|
||||
public System.Collections.Generic.List<Material> material_array;
|
||||
public GreasePencil() {
|
||||
this.id = default;
|
||||
|
||||
Reference in New Issue
Block a user