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:
d129603
)
lottie/vdasher: fix multiple dashes issue on multiple pathes
34/187734/1
author
Youngbok Shin
<youngb.shin@samsung.com>
Tue, 28 Aug 2018 06:08:40 +0000
(15:08 +0900)
committer
Youngbok Shin
<youngb.shin@samsung.com>
Tue, 28 Aug 2018 06:08:40 +0000
(15:08 +0900)
mIndex is for handling multiple dashes.
If a previous path ends at mIndex > 0,
it should be initialized as 0 when it starts job for next path.
The previous work shouldn't affect the next path.
Change-Id: Iab2b00fe456f7195acd7e086f55758ad7d2a7bf6
src/vector/vdasher.cpp
patch
|
blob
|
history
diff --git
a/src/vector/vdasher.cpp
b/src/vector/vdasher.cpp
index 095738b0374c7a24b8c7c7acb799b0e9e4600102..508b767d678f1a48a11ff802a13cdcd9c9728217 100644
(file)
--- a/
src/vector/vdasher.cpp
+++ b/
src/vector/vdasher.cpp
@@
-72,6
+72,7
@@
void VDasher::moveTo(const VPointF &p)
mDiscard = false;
mStartNewSegment = true;
mCurPt = p;
+ mIndex = 0;
if (!vCompare(mDashOffset, 0.0f)) {
float totalLength = 0.0;