From 4cbfb3000681239f302efd690a358159ffda15f9 Mon Sep 17 00:00:00 2001 From: Florin Malita Date: Tue, 10 Jul 2018 14:34:29 -0400 Subject: [skottie] Log (unsupported) layer effects TBR= Change-Id: Ia35e4110cb3c02339a38e82cd0f4516c7c58a5d9 Reviewed-on: https://skia-review.googlesource.com/140251 Reviewed-by: Florin Malita Commit-Queue: Florin Malita --- modules/skottie/src/Skottie.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules') diff --git a/modules/skottie/src/Skottie.cpp b/modules/skottie/src/Skottie.cpp index e59ace86ac..5cd1f4e6fa 100644 --- a/modules/skottie/src/Skottie.cpp +++ b/modules/skottie/src/Skottie.cpp @@ -1109,6 +1109,10 @@ sk_sp AttachLayer(const skjson::ObjectValue* jlayer, AttachLayerContext* layerCtx) { if (!jlayer) return nullptr; + if (!(*jlayer)["ef"].is()) { + LOG("?? Unsupported layer effect.\n"); + } + using LayerAttacher = sk_sp (*)(const skjson::ObjectValue&, AttachContext*); static constexpr LayerAttacher gLayerAttachers[] = { AttachCompLayer, // 'ty': 0 -- cgit v1.2.3