Fixed a critical bug in Array field name generation. Added DNAAttribute and DNAListAttribute classes

This commit is contained in:
Samuele Lorefice
2025-03-04 18:47:55 +01:00
parent b70bcd4d02
commit 8bbfb49720
4 changed files with 142 additions and 1 deletions

40
BlendFile/DNAAttribute.cs Normal file
View File

@@ -0,0 +1,40 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
namespace BlendFile {
[AttributeUsageAttribute(AttributeTargets.All)]
public class DNAAttribute : System.Attribute {
private int _OriginalIndex;
public virtual int OriginalIndex {
get {
return this._OriginalIndex;
}
set {
this._OriginalIndex = value;
}
}
private string _OriginalName;
public virtual string OriginalName {
get {
return this._OriginalName;
}
set {
this._OriginalName = value;
}
}
public DNAAttribute(int OriginalIndex, string OriginalName) {
this._OriginalIndex = OriginalIndex;
this._OriginalName = OriginalName;
}
}
}