Add keyframes editor to proxy keyframes from subtracks on object track

#519
This commit is contained in:
Wojtek Figat
2021-09-03 12:32:33 +02:00
parent 6dcc9f85c6
commit d19d0ef0e5
21 changed files with 648 additions and 49 deletions

View File

@@ -378,6 +378,12 @@ namespace FlaxEngine
{
return Time > other.Time ? 1 : 0;
}
/// <inheritdoc />
public override string ToString()
{
return Value?.ToString() ?? string.Empty;
}
}
/// <summary>
@@ -655,6 +661,12 @@ namespace FlaxEngine
{
return Time > other.Time ? 1 : 0;
}
/// <inheritdoc />
public override string ToString()
{
return Value?.ToString() ?? string.Empty;
}
}
/// <summary>

View File

@@ -254,6 +254,16 @@ namespace FlaxEngine
return string.Concat(graphemes);
}
/// <summary>
/// Removes any new line characters (\r or \n) from the string.
/// </summary>
/// <param name="s">The string to process.</param>
/// <returns>The single-line string.</returns>
public static string RemoveNewLine(this string s)
{
return s.Replace("\n", "").Replace("\r", "");
}
private static readonly Regex IncNameRegex1 = new Regex("(\\d+)$");
private static readonly Regex IncNameRegex2 = new Regex("\\((\\d+)\\)$");