From c59b03071f5b255b5ce42749ff5d8238adca13e2 Mon Sep 17 00:00:00 2001 From: Florin Malita Date: Mon, 8 Jan 2018 15:14:55 -0500 Subject: [skotty] Tag animating paths as volatile Change-Id: Ib90634ef682dba49b99594b008a0615d04c61a49 Reviewed-on: https://skia-review.googlesource.com/92140 Reviewed-by: Chris Dalton Commit-Queue: Florin Malita --- experimental/skotty/SkottyAnimator.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'experimental') diff --git a/experimental/skotty/SkottyAnimator.cpp b/experimental/skotty/SkottyAnimator.cpp index 7c4c16e780..d9f9b39ff1 100644 --- a/experimental/skotty/SkottyAnimator.cpp +++ b/experimental/skotty/SkottyAnimator.cpp @@ -40,6 +40,7 @@ void KeyframeInterval::lerp(float t, ShapeValue* v) const { SkASSERT(v->cardinality() == 0); SkAssertResult(fV1.fPath.interpolate(fV0.fPath, t, &v->fPath)); + v->fPath.setIsVolatile(true); } float AnimatorBase::ComputeLocalT(float t, float t0, float t1, -- cgit v1.2.3