When the non-animated image is detached from the scene first and attached to the scene again,
webp-loading can't load webp information because it is already loaded its information.
To re-load this information, we need to set the flag to false.
Change-Id: I9a881cda51eba7212978bb43fb37b86baac7cf79
if(webPLoading)
{
Dali::Devel::PixelBuffer pixelBuffer = webPLoading.LoadFrame(FIRST_FRAME_INDEX);
- if(pixelBuffer && webPLoading.HasLoadingSucceeded())
+ if(pixelBuffer)
{
bitmap = pixelBuffer;
return true;
free((void*)mBuffer);
mBuffer = nullptr;
}
+
+ mLoadSucceeded = false;
}
// Moveable but not copyable