Fixed a critical bug in Array field name generation. Added DNAAttribute and DNAListAttribute classes
This commit is contained in:
40
BlendFile/DNAAttribute.cs
Normal file
40
BlendFile/DNAAttribute.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user