| 124 | } |
| 125 | |
| 126 | string ExtMeshCache::GetRealFileName(const ExtMesh *m) const { |
| 127 | const ExtMesh *meshToFind; |
| 128 | if (m->GetType() == TYPE_EXT_TRIANGLE_MOTION) { |
| 129 | const ExtMotionTriangleMesh *mot = (const ExtMotionTriangleMesh *)m; |
| 130 | meshToFind = mot->GetExtTriangleMesh(); |
| 131 | } else if (m->GetType() == TYPE_EXT_TRIANGLE_INSTANCE) { |
| 132 | const ExtInstanceTriangleMesh *inst = (const ExtInstanceTriangleMesh *)m; |
| 133 | meshToFind = inst->GetExtTriangleMesh(); |
| 134 | } else |
| 135 | meshToFind = m; |
| 136 | |
| 137 | return meshes.GetName(meshToFind); |
| 138 | } |
| 139 | |
| 140 | string ExtMeshCache::GetSequenceFileName(const ExtMesh *m) const { |
| 141 |
no test coverage detected