If you have an animator such as:
registerAnimator("test_animator", class {
animate(currentTime, effect) {
effect.localTime = NaN;
}
});
Then EffectProxy::setLocalTime is called with time_ms == NaN. This ends up with a local_time_ of a large negative delta:
[1:16:0604/114855.148445:INFO:effect_proxy.h(23)] setLocalTime: nan
[1:16:0604/114855.148514:INFO:effect_proxy.h(34)] setLocalTime (result): -9.22337e+12
This then gets clamped to the effect start time. Instead, we should be properly treating this as unresolved.
Comment 1 by sunxd@chromium.org
, Jun 5 2018