diff --git a/modules/skottie/src/Composition.cpp b/modules/skottie/src/Composition.cpp index f29f1e61f8..ee3ddf0a2a 100644 --- a/modules/skottie/src/Composition.cpp +++ b/modules/skottie/src/Composition.cpp @@ -49,8 +49,6 @@ CompositionBuilder::CompositionBuilder(const AnimationBuilder& abuilder, const skjson::ObjectValue& jcomp) : fSize(size) { - AnimationBuilder::AutoPropertyTracker apt(&abuilder, jcomp, - PropertyObserver::NodeType::COMPOSITION); // Optional motion blur params. if (const skjson::ObjectValue* jmb = jcomp["mb"]) { static constexpr size_t kMaxSamplesPerFrame = 64; diff --git a/modules/skottie/src/Skottie.cpp b/modules/skottie/src/Skottie.cpp index 3667455232..f1e62dd311 100644 --- a/modules/skottie/src/Skottie.cpp +++ b/modules/skottie/src/Skottie.cpp @@ -186,6 +186,7 @@ AnimationBuilder::AnimationInfo AnimationBuilder::parse(const skjson::ObjectValu this->parseFonts(jroot["fonts"], jroot["chars"]); AutoScope ascope(this); + AutoPropertyTracker apt(this, jroot, PropertyObserver::NodeType::COMPOSITION); auto root = CompositionBuilder(*this, fCompSize, jroot).build(*this); auto animators = ascope.release();