--------------------------------------------
| 328 | |
| 329 | // -------------------------------------------- |
| 330 | bool GeometryImporter::importMesh ( COLLADAFW::Mesh* mesh ) |
| 331 | { |
| 332 | // Get the unique framework mesh id |
| 333 | const COLLADAFW::UniqueId& geometryId = mesh->getUniqueId (); |
| 334 | |
| 335 | // Get the transform node(s) of the current mesh. |
| 336 | VisualSceneImporter* visualSceneImporter = getDocumentImporter ()->getVisualSceneImporter (); |
| 337 | const UniqueIdVec* transformNodeIds = visualSceneImporter->findGeometryTransformIds ( geometryId ); |
| 338 | if ( transformNodeIds == 0 ) return false; |
| 339 | |
| 340 | // Make the mesh instances and import the mesh data. |
| 341 | bool meshImported = importMesh ( mesh, transformNodeIds ); |
| 342 | |
| 343 | return meshImported; |
| 344 | } |
| 345 | |
| 346 | // -------------------------------------------- |
| 347 | bool GeometryImporter::importMesh ( |
nothing calls this directly
no test coverage detected