------------------------------------------------------------------------------------------------ Setup configuration properties
| 110 | // ------------------------------------------------------------------------------------------------ |
| 111 | // Setup configuration properties |
| 112 | void SMDImporter::SetupProperties(const Importer* pImp) { |
| 113 | // The |
| 114 | // AI_CONFIG_IMPORT_SMD_KEYFRAME option overrides the |
| 115 | // AI_CONFIG_IMPORT_GLOBAL_KEYFRAME option. |
| 116 | configFrameID = pImp->GetPropertyInteger(AI_CONFIG_IMPORT_SMD_KEYFRAME,-1); |
| 117 | if(static_cast<unsigned int>(-1) == configFrameID) { |
| 118 | configFrameID = pImp->GetPropertyInteger(AI_CONFIG_IMPORT_GLOBAL_KEYFRAME,0); |
| 119 | } |
| 120 | |
| 121 | bLoadAnimationList = pImp->GetPropertyBool(AI_CONFIG_IMPORT_SMD_LOAD_ANIMATION_LIST, true); |
| 122 | noSkeletonMesh = pImp->GetPropertyBool(AI_CONFIG_IMPORT_NO_SKELETON_MESHES, false); |
| 123 | } |
| 124 | |
| 125 | // ------------------------------------------------------------------------------------------------ |
| 126 | // Imports the given file into the given scene structure. |
nothing calls this directly
no test coverage detected