| 215 | } |
| 216 | |
| 217 | void EveChildMesh::InitializeAnimation() |
| 218 | { |
| 219 | if( m_animationUpdater && m_animationUpdater->GetResPath().empty() ) |
| 220 | { |
| 221 | if( m_mesh ) |
| 222 | { |
| 223 | if( auto geometry = m_mesh->GetGeometryResource() ) |
| 224 | { |
| 225 | m_animationUpdater->SetUseMeshBinding( true ); |
| 226 | m_animationUpdater->SetSharedGeometryRes( geometry ); |
| 227 | return; |
| 228 | } |
| 229 | } |
| 230 | m_animationUpdater->SetSharedGeometryRes( nullptr ); |
| 231 | } |
| 232 | } |
| 233 | |
| 234 | // -------------------------------------------------------------------------------- |
| 235 | // Description: |
nothing calls this directly
no test coverage detected