From: minho.sun Date: Tue, 10 Jul 2018 01:54:19 +0000 (+0900) Subject: [4.0] Fixed gif-loading GetImageSize() bug X-Git-Tag: accepted/tizen/4.0/unified/20180712.142238^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=a42120fb6b5197ec112504f50f8d07e8742bb38c;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git [4.0] Fixed gif-loading GetImageSize() bug GifLoading::GetImageSize() returned wrong height. Make it return right height. Change-Id: Ie6851bc47a08efbb5c07b422629904c6e573566f Signed-off-by: minho.sun --- diff --git a/adaptors/devel-api/adaptor-framework/gif-loading.cpp b/adaptors/devel-api/adaptor-framework/gif-loading.cpp index 8f75463..88ca5ad 100755 --- a/adaptors/devel-api/adaptor-framework/gif-loading.cpp +++ b/adaptors/devel-api/adaptor-framework/gif-loading.cpp @@ -1260,7 +1260,7 @@ bool GifLoading::LoadAllFrames( std::vector &pixelData, Dali::V ImageDimensions GifLoading::GetImageSize() { - return ImageDimensions( mImpl->imageProperties.w, mImpl->imageProperties.w ); + return ImageDimensions( mImpl->imageProperties.w, mImpl->imageProperties.h ); } int GifLoading::GetImageCount()