Revert "Revise update clone type to update depth."

This reverts commit 4185303bd2.
This commit is contained in:
2023-01-20 22:26:56 +08:00
parent 39bc34fd42
commit be64bc76b5
3 changed files with 14 additions and 15 deletions

View File

@@ -14,9 +14,8 @@ namespace Cryville.Crtr.Components {
/// </summary>
/// <param name="name">The name of the property.</param>
/// <param name="property">The property.</param>
/// <param name="depth">The maximum depth to update the property.</param>
protected void SubmitProperty(string name, PdtOperator property, int depth = 1) {
Properties.Add(IdentifierManager.SharedInstance.Request(name), new SkinProperty(property, depth));
protected void SubmitProperty(string name, PdtOperator property, int uct = 1) {
Properties.Add(IdentifierManager.SharedInstance.Request(name), new SkinProperty(property, uct));
}
/// <summary>
@@ -31,10 +30,10 @@ namespace Cryville.Crtr.Components {
}
public struct SkinProperty {
public PdtOperator Operator { get; set; }
public int UpdateDepth { get; set; }
public SkinProperty(PdtOperator op, int depth = 1) {
public int UpdateCloneType { get; set; }
public SkinProperty(PdtOperator op, int uct = 1) {
Operator = op;
UpdateDepth = depth;
UpdateCloneType = uct;
}
}
}