diff options
author | Florin Malita <fmalita@chromium.org> | 2018-07-10 11:13:06 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-07-10 19:58:40 +0000 |
commit | a7e78ee1d461b91132f01d6b8b0b16bc31063a04 (patch) | |
tree | 3d6346e6f8bcaa4d34f0c2c27e284ac94e55642a /modules/skottie/src/SkottieAnimator.cpp | |
parent | d7425b14658a7db37db6401b29c095809bd9bcf2 (diff) |
[skottie] Misc cleanup
* pass inline defaults
* log expressions
TBR=
Change-Id: I5e3ab038d612c738abb1bcf35b4cc492b9aaa6c1
Reviewed-on: https://skia-review.googlesource.com/140240
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'modules/skottie/src/SkottieAnimator.cpp')
-rw-r--r-- | modules/skottie/src/SkottieAnimator.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/skottie/src/SkottieAnimator.cpp b/modules/skottie/src/SkottieAnimator.cpp index b2ec87254b..7ce1b7f6ba 100644 --- a/modules/skottie/src/SkottieAnimator.cpp +++ b/modules/skottie/src/SkottieAnimator.cpp @@ -245,6 +245,10 @@ static inline bool BindPropertyImpl(const skjson::ObjectValue* jprop, const auto& jpropA = (*jprop)["a"]; const auto& jpropK = (*jprop)["k"]; + if (!(*jprop)["x"].is<skjson::NullValue>()) { + LOG("?? Unsupported expression.\n"); + } + // Older Json versions don't have an "a" animation marker. // For those, we attempt to parse both ways. if (!ParseDefault<bool>(jpropA, false)) { |