| 55 | } |
| 56 | |
| 57 | void EmbedTexturesProcess::SetupProperties(const Importer* pImp) { |
| 58 | mRootPath = pImp->GetPropertyString("sourceFilePath"); |
| 59 | mRootPath = mRootPath.substr(0, mRootPath.find_last_of("\\/") + 1u); |
| 60 | mIOHandler = pImp->GetIOHandler(); |
| 61 | } |
| 62 | |
| 63 | void EmbedTexturesProcess::Execute(aiScene* pScene) { |
| 64 | if (pScene == nullptr || pScene->mRootNode == nullptr || mIOHandler == nullptr){ |
nothing calls this directly
no test coverage detected