nodes: use much smarter time transform function

Fixes #2042
This commit is contained in:
itsmattkc
2022-10-23 12:15:36 -07:00
parent 86a5a0fcfd
commit 5096278e60
12 changed files with 64 additions and 78 deletions
+1 -1
View File
@@ -868,7 +868,7 @@ bool TimeBasedWidget::SnapPoint(const std::vector<rational> &start_times, ration
rational time = key->time();
if (const TimeTargetObject *target = GetKeyframeTimeTarget()) {
if (Node *parent = key->parent()) {
time = target->GetAdjustedTime(parent, target->GetTimeTarget(), time, false);
time = target->GetAdjustedTime(parent, target->GetTimeTarget(), time, Node::kTransformTowardsOutput);
}
}