| 344 | } |
| 345 | |
| 346 | void KeyAnimationDef::restoreResetAnimation(Node* target, ActionDuration* action) { |
| 347 | ResetAction* resetAction = DoraAs<ResetAction>(action); |
| 348 | if (resetAction) { |
| 349 | target->setVisible(_keyFrameDefs[0]->visible); |
| 350 | resetAction->prepareWith(target); |
| 351 | resetAction->updateEndValues(_keyFrameDefs[0].get()); |
| 352 | } |
| 353 | } |
| 354 | |
| 355 | /* FrameAnimationDef */ |
| 356 |
nothing calls this directly
no test coverage detected