From: Joogab Yun Date: Wed, 18 Apr 2018 16:50:48 +0000 (+0900) Subject: When loading two or more imageviews with the same URL X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=commitdiff_plain;h=16b6d5eb085609be4d762c1bf86e732817201e01 When loading two or more imageviews with the same URL It should not be rendered at not start or loading fail. check mLoading value in DoSetOnStage() at image-visual.cpp Change-Id: I920a0a30d9aff202dd2975ad50dc06fa3fec1eef --- diff --git a/dali-toolkit/internal/visuals/texture-manager-impl.cpp b/dali-toolkit/internal/visuals/texture-manager-impl.cpp index dc1c2b9..989320e 100755 --- a/dali-toolkit/internal/visuals/texture-manager-impl.cpp +++ b/dali-toolkit/internal/visuals/texture-manager-impl.cpp @@ -229,7 +229,21 @@ TextureSet TextureManager::LoadTexture( } TextureManager::LoadState loadState = GetTextureStateInternal( textureId ); - loadingStatus = ( loadState == TextureManager::LOADING ); + switch( loadState ) + { + case TextureManager::NOT_STARTED: + case TextureManager::LOADING: + case TextureManager::LOAD_FAILED: + { + loadingStatus = true; + break; + } + default: + { + loadingStatus = false; + break; + } + } if( loadState == TextureManager::UPLOADED ) {