lottie/parser: Added warning message for no support of Merge Path Object. 49/193749/1
authorsubhransu mohanty <sub.mohanty@samsung.com>
Mon, 26 Nov 2018 04:44:37 +0000 (13:44 +0900)
committersubhransu mohanty <sub.mohanty@samsung.com>
Mon, 26 Nov 2018 04:44:37 +0000 (13:44 +0900)
Change-Id: I1948f86d8370564e733fba82be9785fbad4766bb

src/lottie/lottieparser.cpp

index 3f42d11..2c0493f 100644 (file)
@@ -915,6 +915,9 @@ std::shared_ptr<LOTData> LottieParserImpl::parseObjectTypeAttr()
     } else if (0 == strcmp(type, "rp")) {
         curLayerRef->mHasRepeater = true;
         return parseReapeaterObject();
+    }  else if (0 == strcmp(type, "mm")) {
+        vWarning << "Merge Path is not supported yet";
+        return nullptr;
     } else {
 #ifdef DEBUG_PARSER
         vDebug << "The Object Type not yet handled = " << type;