Commit 79030fe2a3b32b66048860b4e2041675e4b39d60
1 parent
1f2e33f8
(Animation) Updates following DestroyAction removal
Change-Id: I0683b34b0629ebcc154370c0d1313b96f08259cb
Showing
3 changed files
with
1 additions
and
3 deletions
demo/dali-table-view.cpp
| ... | ... | @@ -606,7 +606,7 @@ bool DaliTableView::OnTilePressed( Actor actor, const TouchEvent& event ) |
| 606 | 606 | if( consumed ) |
| 607 | 607 | { |
| 608 | 608 | mPressedAnimation = Animation::New( BUTTON_PRESS_ANIMATION_TIME ); |
| 609 | - mPressedAnimation.SetDestroyAction( Animation::Discard ); | |
| 609 | + mPressedAnimation.SetEndAction( Animation::Discard ); | |
| 610 | 610 | |
| 611 | 611 | // scale the content actor within the Tile, as to not affect the placement within the Table. |
| 612 | 612 | Actor content = actor.GetChildAt(0); | ... | ... |
examples/motion/motion-blur-example.cpp
| ... | ... | @@ -306,7 +306,6 @@ public: |
| 306 | 306 | { |
| 307 | 307 | // has parent so we expect it to be on stage, start animation |
| 308 | 308 | mRotateAnimation = Animation::New( ORIENTATION_DURATION ); |
| 309 | - mRotateAnimation.SetDestroyAction( Animation::Bake ); | |
| 310 | 309 | mRotateAnimation.RotateTo( mView, Degree( -orientation ), Vector3::ZAXIS, AlphaFunctions::EaseOut ); |
| 311 | 310 | mRotateAnimation.Resize( mView, targetSize.width, targetSize.height ); |
| 312 | 311 | mRotateAnimation.Play(); | ... | ... |
examples/motion/motion-stretch-example.cpp
| ... | ... | @@ -219,7 +219,6 @@ public: |
| 219 | 219 | { |
| 220 | 220 | // has parent so we expect it to be on stage, start animation |
| 221 | 221 | mRotateAnimation = Animation::New( ORIENTATION_DURATION ); |
| 222 | - mRotateAnimation.SetDestroyAction( Animation::Bake ); | |
| 223 | 222 | mRotateAnimation.RotateTo( mView, Degree( -orientation ), Vector3::ZAXIS, AlphaFunctions::EaseOut ); |
| 224 | 223 | mRotateAnimation.Resize( mView, targetSize.width, targetSize.height ); |
| 225 | 224 | mRotateAnimation.Play(); | ... | ... |