| 245 | } |
| 246 | |
| 247 | std::vector<std::string>* Tr2Mesh::GetMorphTargetNames() const |
| 248 | { |
| 249 | if( !GetGeometryResource() ) |
| 250 | { |
| 251 | return nullptr; |
| 252 | } |
| 253 | |
| 254 | auto mesh = GetGeometryResource()->GetMeshLod( GetMeshIndex(), 0 ); |
| 255 | |
| 256 | if( !mesh ) |
| 257 | { |
| 258 | return nullptr; |
| 259 | } |
| 260 | |
| 261 | return &mesh->m_morphTargetNames; |
| 262 | } |
| 263 | |
| 264 | bool Tr2Mesh::IsBakedMorph( int index ) const |
| 265 | { |
nothing calls this directly
no test coverage detected