[skotty] Tag animating paths as volatile
Change-Id: Ib90634ef682dba49b99594b008a0615d04c61a49 Reviewed-on: https://skia-review.googlesource.com/92140 Reviewed-by: Chris Dalton <csmartdalton@google.com> Commit-Queue: Florin Malita <fmalita@chromium.org>
This commit is contained in:
parent
0c95aab176
commit
c59b03071f
@ -40,6 +40,7 @@ void KeyframeInterval<ShapeValue>::lerp(float t, ShapeValue* v) const {
|
|||||||
SkASSERT(v->cardinality() == 0);
|
SkASSERT(v->cardinality() == 0);
|
||||||
|
|
||||||
SkAssertResult(fV1.fPath.interpolate(fV0.fPath, t, &v->fPath));
|
SkAssertResult(fV1.fPath.interpolate(fV0.fPath, t, &v->fPath));
|
||||||
|
v->fPath.setIsVolatile(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
float AnimatorBase::ComputeLocalT(float t, float t0, float t1,
|
float AnimatorBase::ComputeLocalT(float t, float t0, float t1,
|
||||||
|
Loading…
Reference in New Issue
Block a user