| 315 | } |
| 316 | |
| 317 | void Model::cleanup() { |
| 318 | if (_flags.isOff(Node::Cleanup)) { |
| 319 | Node::cleanup(); |
| 320 | for (const auto& animationGroup : _animationGroups) { |
| 321 | animationGroup->animationEnd.Clear(); |
| 322 | } |
| 323 | } |
| 324 | } |
| 325 | |
| 326 | Model* Model::dummy() { |
| 327 | return Model::create(ModelDef::create()); |