lottie/parser: changed the datatype of gradient member object . 19/187219/1
authorsubhransu mohanty <sub.mohanty@samsung.com>
Tue, 21 Aug 2018 05:05:50 +0000 (14:05 +0900)
committersubhransu mohanty <sub.mohanty@samsung.com>
Tue, 21 Aug 2018 05:07:24 +0000 (14:07 +0900)
Change-Id: I2b1ca35904f1d5af39c0c76be47af582f9b93041

example/resource/insta_camera.json [moved from example/resource/issue/insta_camera.json with 100% similarity]
src/lottie/lottiemodel.h

index e191cbe..2c484b1 100644 (file)
@@ -520,8 +520,8 @@ public:
     int                                 mGradientType;        /* "t" Linear=1 , Radial = 2*/
     LOTAnimatable<VPointF>              mStartPoint;          /* "s" */
     LOTAnimatable<VPointF>              mEndPoint;            /* "e" */
-    LOTAnimatable<int>                  mHighlightLength{0};     /* "h" */
-    LOTAnimatable<int>                  mHighlightAngle{0};      /* "a" */
+    LOTAnimatable<float>                mHighlightLength{0};     /* "h" */
+    LOTAnimatable<float>                mHighlightAngle{0};      /* "a" */
     LOTAnimatable<int>                  mOpacity{0};             /* "o" */
     LOTAnimatable<LottieGradient>       mGradient;            /* "g" */
     int                                 mColorPoints{-1};