[Tizen] No Cancle gif image when texture is removed resf/for/tizen
authorSunghyun Kim <scholb.kim@samsung.com>
Fri, 13 Nov 2020 03:15:23 +0000 (12:15 +0900)
committerSunghyun Kim <scholb.kim@samsung.com>
Fri, 13 Nov 2020 03:15:23 +0000 (12:15 +0900)
Change-Id: I1ccbfd46505df0d9aff5a243f3fdf8ecefc0d686

dali-toolkit/internal/visuals/texture-manager-impl.cpp

index 1de8a80..550ea67 100644 (file)
@@ -606,7 +606,8 @@ void TextureManager::Remove( const TextureManager::TextureId textureId, TextureU
       {
         // We mark the textureInfo for removal.
         // Once the load has completed, this method will be called again.
-        textureInfo.loadState = CANCELLED;
+        if( !textureInfo.animatedImageLoading )
+          textureInfo.loadState = CANCELLED;
       }
       else
       {