{ // remove sub property
for(int i = 0 ; pSubProperties[i] != NULL ; i++)
{
- pAnimationManager->RemoveAnimationByProperty(*__pPublicInstance, *pSubProperties[i]);
+ pAnimationManager->RemoveAnimationByProperty(*__pPresentation->__pPublicInstance, *pSubProperties[i]);
}
}
if (unlikely(pAnimation))
}
else
{
+
+ if(pSubProperties)
+ { // remove sub property
+ for(int i = 0 ; pSubProperties[i] != NULL ; i++)
+ {
+ pAnimationManager->RemoveAnimationByProperty(*__pPresentation->__pPublicInstance, *pSubProperties[i]);
+ }
+ }
+
pAnimationManager->RemoveAnimationByProperty(*__pPresentation->__pPublicInstance, property);
r = false;
}