From: Jaeun Choi Date: Fri, 20 Jul 2018 08:40:50 +0000 (+0900) Subject: vector: bug fix in vpathmesure X-Git-Tag: submit/tizen/20180917.042405~206 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0dacf86753dedc251f8657077dc9056368d6adf3;p=platform%2Fcore%2Fuifw%2Flottie-player.git vector: bug fix in vpathmesure Change-Id: I4936c9fe5b7db80fe6d99908086c3ebc9dab1398 --- diff --git a/src/vector/vpathmesure.cpp b/src/vector/vpathmesure.cpp index 9e92b04..b3f79c7 100644 --- a/src/vector/vpathmesure.cpp +++ b/src/vector/vpathmesure.cpp @@ -95,6 +95,7 @@ void VPathMesure::setStart(float pos) elm_copy.push_back(e); switch(e) { case VPath::Element::MoveTo: + i++; break; case VPath::Element::LineTo: { @@ -235,6 +236,7 @@ void VPathMesure::setEnd(float pos) elm_copy.push_back(e); switch(e) { case VPath::Element::MoveTo: + i++; break; case VPath::Element::LineTo: {