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:
6992a92
)
vdasher: fixed regression from last commit
author
subhransu mohanty
<sub.mohanty@samsung.com>
Thu, 1 Aug 2019 00:16:34 +0000
(09:16 +0900)
committer
Hermet Park
<hermetpark@gmail.com>
Fri, 9 Aug 2019 08:55:50 +0000
(17:55 +0900)
this was only comparing the 1st dashinfo because of missing array subscript operator.
Change-Id: I938b971bb1eba7fc3ca41b0d95ea9b88c1ab97b4
src/vector/vdasher.cpp
patch
|
blob
|
history
diff --git
a/src/vector/vdasher.cpp
b/src/vector/vdasher.cpp
index
121a250
..
dfd0835
100644
(file)
--- a/
src/vector/vdasher.cpp
+++ b/
src/vector/vdasher.cpp
@@
-37,9
+37,9
@@
VDasher::VDasher(const float *dashArray, size_t size)
// segments or ZERO lengths gaps we could
// optimize those usecase.
for (size_t i = 0; i < mArraySize; i++) {
- if (!vCompare(mDashArray
->
length, 0.0f))
+ if (!vCompare(mDashArray
[i].
length, 0.0f))
mNoLength = false;
- if (!vCompare(mDashArray
->
gap, 0.0f))
+ if (!vCompare(mDashArray
[i].
gap, 0.0f))
mNoGap = false;
}
}