[4.0] Fixed gif-loading GetImageSize() bug 81/183781/1 accepted/tizen/4.0/unified/20180712.142238 submit/tizen_4.0/20180711.031528
authorminho.sun <minho.sun@samsung.com>
Tue, 10 Jul 2018 01:54:19 +0000 (10:54 +0900)
committerminho.sun <minho.sun@samsung.com>
Wed, 11 Jul 2018 02:44:41 +0000 (11:44 +0900)
GifLoading::GetImageSize() returned wrong height.
Make it return right height.

Change-Id: Ie6851bc47a08efbb5c07b422629904c6e573566f
Signed-off-by: minho.sun <minho.sun@samsung.com>
adaptors/devel-api/adaptor-framework/gif-loading.cpp

index 8f75463..88ca5ad 100755 (executable)
@@ -1260,7 +1260,7 @@ bool GifLoading::LoadAllFrames( std::vector<Dali::PixelData> &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()