projects
/
platform
/
core
/
uifw
/
lottie-player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6377407
)
lottie/parser: construct interpolator from correct argument.
25/188925/1
author
subhransu mohanty
<sub.mohanty@samsung.com>
Wed, 12 Sep 2018 02:34:36 +0000
(11:34 +0900)
committer
subhransu mohanty
<sub.mohanty@samsung.com>
Wed, 12 Sep 2018 02:34:36 +0000
(11:34 +0900)
This is the most annoying bug because of passing argument in wrong order to
the interpolaor constructor.
Change-Id: Idfc307186bc1dd7d6d3849d29985c3e6f493d9d0
src/lottie/lottieparser.cpp
patch
|
blob
|
history
diff --git
a/src/lottie/lottieparser.cpp
b/src/lottie/lottieparser.cpp
index 21d4503dc6f459aac365e4e2f30f68c0d870cf7f..93e5b954bc9123d8fd8e6373f3764807b81cace0 100644
(file)
--- a/
src/lottie/lottieparser.cpp
+++ b/
src/lottie/lottieparser.cpp
@@
-1767,7
+1767,7
@@
void LottieParserImpl::parseKeyFrame(LOTAnimInfo<T> &obj)
keyframe.mInterpolator = search->second;
} else {
keyframe.mInterpolator = std::make_shared<VInterpolator>(
- VInterpolator(
inTangent, out
Tangent));
+ VInterpolator(
outTangent, in
Tangent));
compRef->mInterpolatorCache[interpolatorKey] =
keyframe.mInterpolator;
}