actor.RemoveRenderer( mImpl->mRenderer );
mImpl->mRenderer.Reset();
mPlacementActor.Reset();
+ mStartFirstFrame = false;
}
void AnimatedImageVisual::OnSetTransform()
if(mImpl->mRenderer)
{
mImpl->mRenderer.SetTextures( textureSet );
- }
- Actor actor = mPlacementActor.GetHandle();
- if( actor )
- {
- actor.AddRenderer( mImpl->mRenderer );
- mPlacementActor.Reset();
+
+ Actor actor = mPlacementActor.GetHandle();
+ if( actor )
+ {
+ actor.AddRenderer( mImpl->mRenderer );
+ mPlacementActor.Reset();
+ }
}
if( mFrameCount > 1 )
if( textureSet )
{
SetImageSize( textureSet );
- mImpl->mRenderer.SetTextures( textureSet );
+ if( mImpl->mRenderer )
+ {
+ mImpl->mRenderer.SetTextures( textureSet );
+ }
}
continueTimer = ( mActionStatus == DevelAnimatedImageVisual::Action::PLAY ) ? true : false;