rlottie/parser: Fix build after refactoring
authorsubhransu mohanty <sub.mohanty@samsung.com>
Tue, 4 Jun 2019 01:11:18 +0000 (10:11 +0900)
committerHermet Park <hermetpark@gmail.com>
Wed, 19 Jun 2019 04:35:22 +0000 (13:35 +0900)
src/lottie/lottieparser.cpp

index 35aadce5b3e54f627d1e63e708ed1bd9d761fe7d..74899c735bc7b851810a287864077ffc34b15f6f 100644 (file)
@@ -2055,7 +2055,7 @@ public:
                << ", stFm:" << obj->mStartFrame
                << ", ts:" << obj->mTimeStreatch
                << ", ao:" << obj->autoOrient()
-               << ", ddd:" << obj->mTransform->ddd()
+               << ", ddd:" << (obj->mTransform ? obj->mTransform->ddd() : false)
                << ", W:" << obj->layerSize().width()
                << ", H:" << obj->layerSize().height();
 
@@ -2065,7 +2065,6 @@ public:
                    << "ImageInfo:"
                    << " W :" << obj->mAsset->mWidth
                    << ", H :" << obj->mAsset->mHeight
-                   << ", Path :"<<obj->mAsset->mImagePath
                    <<" }"
                    << "\n";
         else {
@@ -2092,7 +2091,7 @@ public:
             vDebug << level << "{ Repeater: name: "<<obj->name()<<" , a:" << !obj->isStatic()
                    << ", copies:" << r->maxCopies()
                    << ", offset:" << r->offset(0);
-            visitChildren(static_cast<LOTGroupData *>(obj), level);
+            visitChildren(r->mContent.get(), level);
             vDebug << level << "} Repeater";
             break;
         }