------------------------------------------------------------------------------------------------ Setup configuration properties
| 115 | // ------------------------------------------------------------------------------------------------ |
| 116 | // Setup configuration properties |
| 117 | void MD2Importer::SetupProperties(const Importer* pImp) |
| 118 | { |
| 119 | // The |
| 120 | // AI_CONFIG_IMPORT_MD2_KEYFRAME option overrides the |
| 121 | // AI_CONFIG_IMPORT_GLOBAL_KEYFRAME option. |
| 122 | configFrameID = pImp->GetPropertyInteger(AI_CONFIG_IMPORT_MD2_KEYFRAME,-1); |
| 123 | if(static_cast<unsigned int>(-1) == configFrameID){ |
| 124 | configFrameID = pImp->GetPropertyInteger(AI_CONFIG_IMPORT_GLOBAL_KEYFRAME,0); |
| 125 | } |
| 126 | } |
| 127 | // ------------------------------------------------------------------------------------------------ |
| 128 | // Validate the file header |
| 129 | void MD2Importer::ValidateHeader( ) |
nothing calls this directly
no test coverage detected