Fix pasting or duplicating Multi Blend nodes

This commit is contained in:
Wojtek Figat
2024-10-29 23:08:50 +01:00
parent 0c645e8b0c
commit 2288684950
3 changed files with 36 additions and 4 deletions

View File

@@ -1001,6 +1001,15 @@ namespace FlaxEditor.Surface
_isDuringValuesEditing = value;
}
/// <summary>
/// Sets teh node values from the given pasted source. Can be overriden to perform validation or custom values processing.
/// </summary>
/// <param name="values">The input values array.</param>
public virtual void SetValuesPaste(object[] values)
{
Values = values;
}
/// <summary>
/// Called when node values set gets changed.
/// </summary>