Code cleanup.

This commit is contained in:
2023-04-04 22:12:10 +08:00
parent f467832115
commit ff19b45a9f
3 changed files with 2 additions and 34 deletions

View File

@@ -391,7 +391,7 @@ namespace Cryville.Crtr.Event {
foreach (var m in PlayingMotions) {
var tev = (Chart.Motion)m.Key.Unstamped;
if (tev.Node.Id >= 0 && CloneType == 2) continue;
var value = GetMotionValue(tev.Name.Key/*, true*/);
var value = GetMotionValue(tev.Name.Key);
InvalidateMotion(tev.Name.Key);
if (m.Key.Duration == 0) {
if (tev.Node.Id >= 0) {
@@ -413,7 +413,6 @@ namespace Cryville.Crtr.Event {
tev.Node.Value.LerpWith(m.Value.AbsoluteValue, lerpedTime, ref value.AbsoluteValue);
}
}
Values[tev.Name.Key] = value;
}
}